Partager via


<ostream> typedefs

 

The latest version of this topic can be found at <ostream> typedefs.

ostream](#ostream)|wostream|

ostream

Creates a type from basic_ostream that is specialized on char and char_traits specialized on char.

typedef basic_ostream<char, char_traits<char>> ostream;

Remarks

The type is a synonym for template class basic_ostream, specialized for elements of type char with default character traits.

wostream

Creates a type from basic_ostream that is specialized on wchar_t and char_traits specialized on wchar_t.

typedef basic_ostream<wchar_t, char_traits<wchar_t>> wostream;

Remarks

The type is a synonym for template class basic_ostream, specialized for elements of type wchar_t with default character traits.

See Also

<ostream>