| 2047 | */ |
| 2048 | template <typename C, typename T> |
| 2049 | typename basic_pstreambuf<C,T>::int_type |
| 2050 | basic_pstreambuf<C,T>::pbackfail(int_type c) |
| 2051 | { |
| 2052 | if (this->gptr() != this->eback()) |
| 2053 | { |
| 2054 | this->gbump(-1); |
| 2055 | if (!traits_type::eq_int_type(c, traits_type::eof())) |
| 2056 | *this->gptr() = traits_type::to_char_type(c); |
| 2057 | return traits_type::not_eof(c); |
| 2058 | } |
| 2059 | else |
| 2060 | return traits_type::eof(); |
| 2061 | } |
| 2062 | |
| 2063 | template <typename C, typename T> |
| 2064 | std::streamsize |
nothing calls this directly
no outgoing calls
no test coverage detected