std::_Temporary_buffer< _ForwardIterator, _Tp > Class Template Reference

Inheritance diagram for std::_Temporary_buffer< _ForwardIterator, _Tp >:

Inheritance graph

List of all members.

Public Types

Public Member Functions

Protected Attributes


Detailed Description

template<typename _ForwardIterator, typename _Tp>
class std::_Temporary_buffer< _ForwardIterator, _Tp >

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 122 of file stl_tempbuf.h.


Constructor & Destructor Documentation

template<typename _ForwardIterator, typename _Tp >
std::_Temporary_buffer< _ForwardIterator, _Tp >::_Temporary_buffer ( _ForwardIterator  __first,
_ForwardIterator  __last 
) [inline]

Constructs a temporary buffer of a size somewhere between zero and the size of the given range.

Definition at line 181 of file stl_tempbuf.h.

References std::pair< _T1, _T2 >::first, std::get_temporary_buffer(), std::return_temporary_buffer(), std::pair< _T1, _T2 >::second, and std::uninitialized_fill_n().


Member Function Documentation

template<typename _ForwardIterator, typename _Tp>
iterator std::_Temporary_buffer< _ForwardIterator, _Tp >::begin (  )  [inline]

As per Table mumble.

Definition at line 151 of file stl_tempbuf.h.

Referenced by std::inplace_merge(), std::stable_partition(), and std::stable_sort().

template<typename _ForwardIterator, typename _Tp>
iterator std::_Temporary_buffer< _ForwardIterator, _Tp >::end (  )  [inline]

As per Table mumble.

Definition at line 156 of file stl_tempbuf.h.

template<typename _ForwardIterator, typename _Tp>
size_type std::_Temporary_buffer< _ForwardIterator, _Tp >::requested_size (  )  const [inline]

Returns the size requested by the constructor; may be >size().

Definition at line 146 of file stl_tempbuf.h.

Referenced by std::stable_partition().

template<typename _ForwardIterator, typename _Tp>
size_type std::_Temporary_buffer< _ForwardIterator, _Tp >::size (  )  const [inline]

As per Table mumble.

Definition at line 141 of file stl_tempbuf.h.

Referenced by std::inplace_merge(), std::stable_partition(), and std::stable_sort().


The documentation for this class was generated from the following file:

Generated on Thu Jul 23 21:17:34 2009 for libstdc++ by  doxygen 1.5.8