<ostream> typedefs

Visual Studio 2015
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

ostream](#ostream)|wostream|

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.

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.

<ostream>

Show: