[iostreams.limits.pos] (original) (raw)
31 Input/output library [input.output]
31.2 Iostreams requirements [iostreams.requirements]
31.2.3 Positioning type limitations [iostreams.limits.pos]
The classes of [input.output] with template argumentscharTandtraitsbehave as described iftraits::pos_typeandtraits::off_typearestreamposandstreamoffrespectively.
Except as noted explicitly below, their behavior whentraits::pos_typeandtraits::off_typeare other types isimplementation-defined.
[Note 1:
For each of the specializations of char_traits defined in[char.traits.specializations],state_type denotes mbstate_t,pos_type denotes fpos<mbstate_t>, and off_type denotes streamoff.
— _end note_]
In the classes of [input.output], a template parameter with namecharT represents a member of the set of types containing char, wchar_t, and any other implementation-defined character container types ([defns.character.container]) that meet the requirements for a character on which any of the iostream components can be instantiated.