std::chrono::from_stream (std::chrono::weekday)
Min standard notice:
Header: <chrono>
Attempts to parse the input stream is into the std::chrono::weekday wd according to the format string fmt.
# Declarations
template< class CharT, class Traits, class Alloc = std::allocator<CharT> >
std::basic_istream<CharT, Traits>&
from_stream( std::basic_istream<CharT, Traits>& is, const CharT* fmt,
std::chrono::weekday& wd,
std::basic_string<CharT, Traits, Alloc>* abbrev = nullptr,
std::chrono::minutes* offset = nullptr );
(since C++20)
# Parameters
is: an input streamfmt: a format string (see below)wd: object to hold the parse resultabbrev: if not null, pointer to an object that will hold the time zone abbreviation or name corresponding to the %Z specifieroffset: if not null, pointer to an object that will hold the offset from UTC corresponding to the %z specifier
# Return value
is