3rdParty/boost/1.78.0/libs/ptr_container/doc/ptr_deque.html
A ptr_deque<T> is a pointer container that uses an underlying std:deque<void*> to store the pointers.
Hierarchy:
Navigate:
Synopsis:
namespace boost
{
template
<
class T,
class CloneAllocator = heap_clone_allocator
class Allocator = std::allocator<void*>
>
class ptr_deque : public ptr_sequence_adapter
<
T,
std::deque<void*,Allocator>,
CloneAllocator
>
{
public: //[element access](#element-access)T& operator[]( size_type n );
const T& operator[]( size_type n ) const;
T& at( size_type n );
const T& at( size_type n ) const;
public: //[modifiers](#modifiers)void push_front( T* x );
template< class U >
void push_front([_compatible-smart-ptr_](compatible_smart_ptr.html)<U> x );
auto_type pop_front();
public: //[pointer container requirements](#pointer-container-requirements)auto_type replace( size_type idx, T* x );
template< class U >
auto_type replace( size_type idx,[_compatible-smart-ptr_](compatible_smart_ptr.html)<U> x );
bool is_null( size_type idx ) const;
};
} // namespace 'boost'
void push_front( T* x );
template< class U > void push_front( compatible-smart-ptr<U> x );
auto_type pop_front():
T& operator[]( size_type n );
const T& operator[]( size_type n ) const;
T& at( size_type n );
const T& at( size_type n ) const;
auto_type replace( size_type idx, T* x );
template< class U > auto_type replace( size_type idx, compatible-smart-ptr<U> x );
bool is_null( size_type idx ) const;
| Copyright: | Thorsten Ottosen 2004-2006. Use, modification and distribution is subject to the Boost Software License, Version 1.0 (see LICENSE_1_0.txt). |