Files
cppdraft_translate/cppdraft/iostreams/limits/pos.md
2025-10-25 03:02:53 +03:00

1.7 KiB
Raw Blame History

[iostreams.limits.pos]

31 Input/output library [input.output]

31.2 Iostreams requirements [iostreams.requirements]

31.2.3 Positioning type limitations [iostreams.limits.pos]

1

#

The classes of [input.output] with template argumentscharT andtraits behave as described iftraits::pos_type andtraits::off_type arestreampos andstreamoff respectively.

Except as noted explicitly below, their behavior whentraits::pos_type andtraits::off_type are other types isimplementation-defined.

2

#

[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]

3

#

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.