Section

std::basic_iostream

The class template basic_iostream provides support for high level input/output operations on streams. The supported operations include sequential reading or writing and formatting. This functionality is implemented over the interface provided by the std::basic_streambuf class. It is accessed through std::basic_ios class.

# Declarations

template<
class CharT,
class Traits = std::char_traits<CharT>
> class basic_iostream :
public basic_istream<CharT, Traits>,
public basic_ostream<CharT, Traits>

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 271C++98the member types char_type, traits_type, int_type, pos_type and off_type were not defined(std::basic_istream and std::basic_ostream both define these types, resulted in ambiguity)definethese types

# See also