man std::Temporary_buffer (Fonctions bibliothèques) -

NAME

std::Temporary_buffer -

SYNOPSIS



Inherited by __gnu_cxx::temporary_buffer< ForwardIterator, Type >.

Public Types

typedef Type value_type

typedef value_type * pointer

typedef pointer iterator

typedef ptrdiff_t size_type

Public Member Functions

size_type size () const

As per Table mumble. size_type requested_size () const

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

As per Table mumble. iterator end ()

As per Table mumble. Temporary_buffer (ForwardIterator first, ForwardIterator last)

~Temporary_buffer ()

Protected Member Functions

void M_initialize_buffer (const Type &, __true_type)

void M_initialize_buffer (const Type &val, __false_type)

Protected Attributes

size_type M_original_len

size_type M_len

pointer M_buffer

Detailed Description

template<typename ForwardIterator, typename Type> class std::Temporary_buffer< ForwardIterator, Type >

Definition at line 76 of file stl_tempbuf.h.

Constructor & Destructor Documentation

template<typename ForwardIterator, typename Type> std::Temporary_buffer< ForwardIterator, Type >::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 143 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.

Member Function Documentation

template<typename ForwardIterator, typename Type> iterator std::Temporary_buffer< ForwardIterator, Type >::begin () [inline]

As per Table mumble.

Definition at line 112 of file stl_tempbuf.h.

template<typename ForwardIterator, typename Type> iterator std::Temporary_buffer< ForwardIterator, Type >::end () [inline]

As per Table mumble.

Definition at line 117 of file stl_tempbuf.h.

template<typename ForwardIterator, typename Type> size_type std::Temporary_buffer< ForwardIterator, Type >::requested_size () const [inline]

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

Definition at line 107 of file stl_tempbuf.h.

template<typename ForwardIterator, typename Type> size_type std::Temporary_buffer< ForwardIterator, Type >::size () const [inline]

As per Table mumble.

Definition at line 102 of file stl_tempbuf.h.

Author

Generated automatically by Doxygen for libstdc++-v3 Source from the source code.