ReactOS 0.4.15-dev-7958-gcd0bb1a
_bvector.h File Reference
#include <stl/_vector.h>
Include dependency graph for _bvector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _Bit_reference
 
struct  __type_traits< _STLP_PRIV _Bit_reference >
 
struct  _Bit_iterator_base
 
struct  _Bit_iter< _Ref, _Ptr >
 
class  _Bvector_base< _Alloc >
 
class  __BVECTOR_QUALIFIED
 

Macros

#define _STLP_WORD_BIT   (int(CHAR_BIT * sizeof(unsigned int)))
 
#define __BVEC_TMPL_HEADER   _STLP_TEMPLATE_NULL
 
#define _Alloc   allocator<bool>
 
#define __BVECTOR_QUALIFIED   vector<bool, allocator<bool> >
 
#define __BVECTOR   vector
 

Typedefs

typedef _Bit_iter< _Bit_reference, _Bit_reference * > _Bit_iterator
 

Functions

_STLP_MOVE_TO_STD_NAMESPACE void swap (_STLP_PRIV _Bit_reference &__x, _STLP_PRIV _Bit_reference &__y)
 
bool _STLP_CALL operator== (const _Bit_iterator_base &__x, const _Bit_iterator_base &__y)
 
bool _STLP_CALL operator!= (const _Bit_iterator_base &__x, const _Bit_iterator_base &__y)
 
bool _STLP_CALL operator< (const _Bit_iterator_base &__x, const _Bit_iterator_base &__y)
 
bool _STLP_CALL operator> (const _Bit_iterator_base &__x, const _Bit_iterator_base &__y)
 
bool _STLP_CALL operator<= (const _Bit_iterator_base &__x, const _Bit_iterator_base &__y)
 
bool _STLP_CALL operator>= (const _Bit_iterator_base &__x, const _Bit_iterator_base &__y)
 
template<class _Ref , class _Ptr >
_Bit_iter< _Ref, _Ptr > _STLP_CALL operator+ (ptrdiff_t __n, const _Bit_iter< _Ref, _Ptr > &__x)
 

Variables

_STLP_MOVE_TO_STD_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE typedef _Bit_iter< bool, const bool * > _Bit_const_iterator
 

Macro Definition Documentation

◆ __BVEC_TMPL_HEADER

#define __BVEC_TMPL_HEADER   _STLP_TEMPLATE_NULL

Definition at line 328 of file _bvector.h.

◆ __BVECTOR

#define __BVECTOR   vector

Definition at line 349 of file _bvector.h.

◆ __BVECTOR_QUALIFIED

Definition at line 344 of file _bvector.h.

◆ _Alloc

#define _Alloc   allocator<bool>

Definition at line 330 of file _bvector.h.

◆ _STLP_WORD_BIT

#define _STLP_WORD_BIT   (int(CHAR_BIT * sizeof(unsigned int)))

Definition at line 37 of file _bvector.h.

Typedef Documentation

◆ _Bit_iterator

Definition at line 263 of file _bvector.h.

Function Documentation

◆ operator!=()

bool _STLP_CALL operator!= ( const _Bit_iterator_base __x,
const _Bit_iterator_base __y 
)
inline

Definition at line 150 of file _bvector.h.

150 {
151 return __y._M_p != __x._M_p || __y._M_offset != __x._M_offset;
152}
unsigned int * _M_p
Definition: _bvector.h:106
unsigned int _M_offset
Definition: _bvector.h:107

◆ operator+()

template<class _Ref , class _Ptr >
_Bit_iter< _Ref, _Ptr > _STLP_CALL operator+ ( ptrdiff_t  __n,
const _Bit_iter< _Ref, _Ptr > &  __x 
)
inline

Definition at line 232 of file _bvector.h.

232 {
233 return __x + __n;
234}
return __n
Definition: _algo.h:75

◆ operator<()

Definition at line 154 of file _bvector.h.

154 {
155 return __x._M_p < __y._M_p || (__x._M_p == __y._M_p && __x._M_offset < __y._M_offset);
156}

Referenced by operator>().

◆ operator<=()

Definition at line 161 of file _bvector.h.

161 {
162 return !(__y < __x);
163}

◆ operator==()

Definition at line 147 of file _bvector.h.

147 {
148 return __y._M_p == __x._M_p && __y._M_offset == __x._M_offset;
149}

◆ operator>()

Definition at line 158 of file _bvector.h.

158 {
159 return operator <(__y , __x);
160}
bool _STLP_CALL operator<(const _Bit_iterator_base &__x, const _Bit_iterator_base &__y)
Definition: _bvector.h:154

◆ operator>=()

Definition at line 164 of file _bvector.h.

164 {
165 return !(__x < __y);
166}

◆ swap()

Definition at line 85 of file _bvector.h.

85 {
86 bool __tmp = (bool)__x;
87 __x = __y;
88 __y = __tmp;
89}
#define bool
Definition: nsiface.idl:72

Variable Documentation

◆ _Bit_const_iterator

Definition at line 262 of file _bvector.h.