Default Extractable

Note

This concept is provided for exposition only. It does not appear in the requirements for any library template.

Description

A type models Default Extractable if there are types Ch and Tr such that its instances can be read from instances of std::basic_istream<Ch, Tr> using operator>>.

Refinement of

Associated Types

Character typeA standard library character type
Traits typeA standard library character traits type Tr with Tr::char_type equal to the character type

Note: A type T may model the concept Default Extractable for several different character and traits types.

Notation

E-A type which is a model of Default Extractable
Ch-The character type of E
Tr-The character traits type of Tr
e-Mutable object of type E
in-Mutable object of type std::basic_istream<Ch, Tr>

Valid Expressions / Semantics

ExpressionExpression TypeSemantics
in >> e
std::basic_istream<Ch, Tr>&
Modifies e to correspond to a character sequence read from in, subject to in's locale, format flags, etc.

Models


Sha'arei Tefila, an Orthodox Shul (Synagogue) in Salt Lake City, Utah Chabad Lubavitch of Utah