libstdc++
|
Public Types | |
typedef pointer | iterator |
typedef value_type * | pointer |
typedef ptrdiff_t | size_type |
typedef _Tp | value_type |
Public Member Functions | |
_Temporary_buffer (_ForwardIterator __first, _ForwardIterator __last) | |
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 123 of file stl_tempbuf.h.
std::_Temporary_buffer< _ForwardIterator, _Tp >::_Temporary_buffer | ( | _ForwardIterator | __first, |
_ForwardIterator | __last | ||
) |
Constructs a temporary buffer of a size somewhere between zero and the size of the given range.
Definition at line 246 of file stl_tempbuf.h.
References std::pair< _T1, _T2 >::first, std::get_temporary_buffer(), std::return_temporary_buffer(), and std::pair< _T1, _T2 >::second.
|
inline |
As per Table mumble.
Definition at line 152 of file stl_tempbuf.h.
Referenced by std::inplace_merge(), std::stable_partition(), and std::stable_sort().
|
inline |
As per Table mumble.
Definition at line 157 of file stl_tempbuf.h.
|
inline |
Returns the size requested by the constructor; may be >size().
Definition at line 147 of file stl_tempbuf.h.
Referenced by std::stable_partition().
|
inline |
As per Table mumble.
Definition at line 142 of file stl_tempbuf.h.
Referenced by std::inplace_merge(), std::stable_partition(), and std::stable_sort().