# std::basic_streambuf<CharT,Traits>::pbase, std::basic_streambuf<CharT,Traits>::pptr, std::basic_streambuf<CharT,Traits>::epptr

> C++ Atlas: `cppatlas.com/w/cpp/io/basic_streambuf/pptr` | Source: https://en.cppreference.com/w/cpp/io/basic_streambuf/pptr | Domain: Input/output

Returns pointers defining the put area.

## Official Specification Summary (cppreference)

```cpp
protected:
char_type* pbase() const; // (1)

protected:
char_type* pptr() const; // (2)

protected:
char_type* epptr() const; // (3)
```

Returns pointers defining the put area.

1) Returns the pointer to the beginning ("base") of the put area.

2) Returns the pointer to the current character (*put pointer*) in the put area.

3) Returns the pointer one past the end of the put area.

### Parameters

(none)

### Return value

1) The pointer to the beginning of the put area.

2) The pointer to the current character (*put pointer*) in the put area.

3) The pointer one past the end of the put area.

### Example

> Note: This section is incomplete Reason: no example

### See also

- [`eback`](https://en.cppreference.com/w/cpp/io/basic_streambuf/gptr), [`gptr`](https://en.cppreference.com/w/cpp/io/basic_streambuf/gptr), [`egptr`](https://en.cppreference.com/w/cpp/io/basic_streambuf/gptr): returns a pointer to the beginning, current character and the end of the get area (protected member function)

---
Attribution: content from https://en.cppreference.com/w/cpp/io/basic_streambuf/pptr (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.