libstdc++
|
#include <stl_tempbuf.h>
Public Types | |
typedef pointer | iterator |
typedef value_type * | pointer |
typedef ptrdiff_t | size_type |
typedef _Tp | value_type |
Public Member Functions | |
_Temporary_buffer (_ForwardIterator __seed, size_type __original_len) | |
iterator | begin () |
iterator | end () |
size_type | requested_size () const |
size_type | size () const |
Protected Attributes | |
pointer | _M_buffer |
size_type | _M_len |
size_type | _M_original_len |
This class is used in two places: stl_algo.h and ext/memory, where it is wrapped as the temporary_buffer class. See temporary_buffer docs for more notes.
Definition at line 137 of file stl_tempbuf.h.
typedef pointer std::_Temporary_buffer< _ForwardIterator, _Tp >::iterator |
Definition at line 145 of file stl_tempbuf.h.
typedef value_type* std::_Temporary_buffer< _ForwardIterator, _Tp >::pointer |
Definition at line 144 of file stl_tempbuf.h.
typedef ptrdiff_t std::_Temporary_buffer< _ForwardIterator, _Tp >::size_type |
Definition at line 146 of file stl_tempbuf.h.
typedef _Tp std::_Temporary_buffer< _ForwardIterator, _Tp >::value_type |
Definition at line 143 of file stl_tempbuf.h.
std::_Temporary_buffer< _ForwardIterator, _Tp >::_Temporary_buffer | ( | _ForwardIterator | __seed, |
size_type | __original_len | ||
) |
Constructs a temporary buffer of a size somewhere between zero and the given length.
Definition at line 258 of file stl_tempbuf.h.
References std::pair< _T1, _T2 >::first, and std::pair< _T1, _T2 >::second.
|
inline |
Definition at line 180 of file stl_tempbuf.h.
|
inline |
As per Table mumble.
Definition at line 166 of file stl_tempbuf.h.
|
inline |
As per Table mumble.
Definition at line 171 of file stl_tempbuf.h.
|
inline |
Returns the size requested by the constructor; may be >size().
Definition at line 161 of file stl_tempbuf.h.
|
inline |
As per Table mumble.
Definition at line 156 of file stl_tempbuf.h.
|
protected |
Definition at line 151 of file stl_tempbuf.h.
|
protected |
Definition at line 150 of file stl_tempbuf.h.
|
protected |
Definition at line 149 of file stl_tempbuf.h.