ReactOS 0.4.16-dev-311-g9382aa2
_Vector_base< _Tp, _Alloc > Class Template Reference

#include <_vector.h>

Collaboration diagram for _Vector_base< _Tp, _Alloc >:

Public Types

typedef _Vector_base< _Tp, _Alloc_Self
 
typedef _Alloc allocator_type
 
typedef _Tp * pointer
 
typedef _STLP_alloc_proxy< pointer, _Tp, allocator_type_AllocProxy
 

Public Member Functions

 _Vector_base (const _Alloc &__a)
 
 _Vector_base (size_t __n, const _Alloc &__a)
 
 _Vector_base (__move_source< _Self > src)
 
 ~_Vector_base ()
 

Protected Member Functions

void _STLP_FUNCTION_THROWS _M_throw_length_error () const
 
void _STLP_FUNCTION_THROWS _M_throw_out_of_range () const
 

Protected Attributes

pointer _M_start
 
pointer _M_finish
 
_AllocProxy _M_end_of_storage
 

Detailed Description

template<class _Tp, class _Alloc>
class _Vector_base< _Tp, _Alloc >

Definition at line 58 of file _vector.h.

Member Typedef Documentation

◆ _AllocProxy

template<class _Tp , class _Alloc >
typedef _STLP_alloc_proxy<pointer, _Tp, allocator_type> _Vector_base< _Tp, _Alloc >::_AllocProxy

Definition at line 64 of file _vector.h.

◆ _Self

template<class _Tp , class _Alloc >
typedef _Vector_base<_Tp, _Alloc> _Vector_base< _Tp, _Alloc >::_Self

Definition at line 60 of file _vector.h.

◆ allocator_type

template<class _Tp , class _Alloc >
typedef _Alloc _Vector_base< _Tp, _Alloc >::allocator_type

Definition at line 62 of file _vector.h.

◆ pointer

template<class _Tp , class _Alloc >
typedef _Tp* _Vector_base< _Tp, _Alloc >::pointer

Definition at line 63 of file _vector.h.

Constructor & Destructor Documentation

◆ _Vector_base() [1/3]

template<class _Tp , class _Alloc >
_Vector_base< _Tp, _Alloc >::_Vector_base ( const _Alloc __a)
inline

Definition at line 66 of file _vector.h.

67 : _M_start(0), _M_finish(0), _M_end_of_storage(__a, 0) {}
_AllocProxy _M_end_of_storage
Definition: _vector.h:97
pointer _M_finish
Definition: _vector.h:96
pointer _M_start
Definition: _vector.h:95

◆ _Vector_base() [2/3]

template<class _Tp , class _Alloc >
_Vector_base< _Tp, _Alloc >::_Vector_base ( size_t  __n,
const _Alloc __a 
)
inline

Definition at line 69 of file _vector.h.

70 : _M_start(0), _M_finish(0), _M_end_of_storage(__a, 0) {
75 }
return __n
Definition: _algo.h:75
#define _STLP_MPWFIX_CATCH
Definition: _apple.h:111
#define _STLP_MPWFIX_TRY
Definition: _apple.h:110
_Value _M_data
Definition: _alloc.h:478
_Tp * allocate(size_type __n, size_type &__allocated_n)
Definition: _alloc.h:525

◆ _Vector_base() [3/3]

template<class _Tp , class _Alloc >
_Vector_base< _Tp, _Alloc >::_Vector_base ( __move_source< _Self src)
inline

Definition at line 78 of file _vector.h.

79 : _M_start(src.get()._M_start), _M_finish(src.get()._M_finish),
80 _M_end_of_storage(__move_source<_AllocProxy>(src.get()._M_end_of_storage)) {
81 //Set the source as empty:
82 src.get()._M_finish = src.get()._M_end_of_storage._M_data = src.get()._M_start = 0;
83 }
GLenum src
Definition: glext.h:6340

◆ ~_Vector_base()

template<class _Tp , class _Alloc >
_Vector_base< _Tp, _Alloc >::~_Vector_base ( )
inline

Definition at line 86 of file _vector.h.

86 {
89 }
#define _STLP_DEFAULT_CONSTRUCTED(_TTp)
Definition: _construct.h:265
GLsizei const GLvoid * pointer
Definition: glext.h:5848

Member Function Documentation

◆ _M_throw_length_error()

template<class _Tp , class _Alloc >
_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE void _Vector_base< _Tp, _Alloc >::_M_throw_length_error
protected

Definition at line 40 of file _vector.c.

41{ __stl_throw_length_error("vector"); }
_STLP_THROW_FUNCT_SPEC _STLP_CALL __stl_throw_length_error(const char *__msg)
Definition: _range_errors.c:72

◆ _M_throw_out_of_range()

template<class _Tp , class _Alloc >
void _Vector_base< _Tp, _Alloc >::_M_throw_out_of_range
protected

Definition at line 44 of file _vector.c.

45{ __stl_throw_out_of_range("vector"); }
_STLP_THROW_FUNCT_SPEC _STLP_CALL __stl_throw_out_of_range(const char *__msg)
Definition: _range_errors.c:69

Member Data Documentation

◆ _M_end_of_storage

template<class _Tp , class _Alloc >
_AllocProxy _Vector_base< _Tp, _Alloc >::_M_end_of_storage
protected

◆ _M_finish

template<class _Tp , class _Alloc >
pointer _Vector_base< _Tp, _Alloc >::_M_finish
protected

Definition at line 96 of file _vector.h.

Referenced by _Vector_base< _Tp, _Alloc >::_Vector_base().

◆ _M_start

template<class _Tp , class _Alloc >
pointer _Vector_base< _Tp, _Alloc >::_M_start
protected

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