Default Insertable

Note

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

Description

A type models Default Insertable if there are types Ch and Tr such that its instances can be written to instances of std::basic_ostream<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 Insertable for several different character and traits types.

Notation

I-A type which is a model of Default Insertable
Ch-The character type of I
Tr-The character traits type of Tr
i-Object of type I
out-Mutable object of type std::basic_ostream<Ch, Tr>

Valid Expressions / Semantics

ExpressionExpression TypeSemantics
out << i
std::basic_ostream<Ch, Tr>&
Writes a representation of i as a character sequence to out, subject to out's locale, format flags, etc.

Models


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