std::_Temporary_buffer< _ForwardIterator, _Tp >

Section: C Library Functions (3)
Updated: Wed Apr 17 2019
Page Index
 

NAME

std::_Temporary_buffer< _ForwardIterator, _Tp >  

SYNOPSIS


Inherited by __gnu_cxx::temporary_buffer< _ForwardIterator, _Tp >.  

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 ()
As per Table mumble.
iterator end ()
As per Table mumble.
size_type requested_size () const
Returns the size requested by the constructor; may be >size().
size_type size () const
As per Table mumble.  

Protected Attributes


pointer _M_buffer

size_type _M_len

size_type _M_original_len
 

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)

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

Definition at line 244 of file stl_tempbuf.h.  

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.  

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.  

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.

 

Author

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


 

Index

NAME
SYNOPSIS
Public Types
Public Member Functions
Protected Attributes
Detailed Description
template<typename _ForwardIterator, typename _Tp>
Constructor & Destructor Documentation
template<typename _ForwardIterator , typename _Tp > std::_Temporary_buffer< _ForwardIterator, _Tp >::_Temporary_buffer (_ForwardIterator __first, _ForwardIterator __last)
Member Function Documentation
template<typename _ForwardIterator , typename _Tp > iterator std::_Temporary_buffer< _ForwardIterator, _Tp >::begin () [inline]
template<typename _ForwardIterator , typename _Tp > iterator std::_Temporary_buffer< _ForwardIterator, _Tp >::end () [inline]
template<typename _ForwardIterator , typename _Tp > size_type std::_Temporary_buffer< _ForwardIterator, _Tp >::requested_size () const [inline]
template<typename _ForwardIterator , typename _Tp > size_type std::_Temporary_buffer< _ForwardIterator, _Tp >::size () const [inline]
Author