This concept is provided for exposition only. It does not appear in the requirements for any library template.
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<<.
| Character type | A standard library character type |
| Traits type | A 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.
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> |
| Expression | Expression Type | Semantics |
|---|---|---|
|
|
Writes a representation of i as a character sequence to out, subject to out's locale, format flags, etc.
|
std::basic_string.
std::complex.
Revised 20 May, 2004
© Copyright Jonathan Turkanis, 2004
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Sha'arei Tefila, an Orthodox Shul (Synagogue) in Salt Lake City, Utah Chabad Lubavitch of Utah