Files
2025-10-25 03:02:53 +03:00

1.9 KiB

[streambuf.put.area]

31 Input/output library [input.output]

31.6 Stream buffers [stream.buffers]

31.6.3 Class template basic_streambuf [streambuf]

31.6.3.4 Protected member functions [streambuf.protected]

31.6.3.4.3 Put area access [streambuf.put.area]

🔗

char_type* pbase() const;

1

#

Returns: The beginning pointer for the output sequence.

🔗

char_type* pptr() const;

2

#

Returns: The next pointer for the output sequence.

🔗

char_type* epptr() const;

3

#

Returns: The end pointer for the output sequence.

🔗

void pbump(int n);

4

#

Effects: Adds n to the next pointer for the output sequence.

🔗

void setp(char_type* pbeg, char_type* pend);

5

#

Preconditions: [pbeg, pend) is a valid range.

6

#

Postconditions: pbeg == pbase(),pbeg == pptr(), andpend == epptr() are all true.