Lines Matching defs:bool

51   operator bool() const { return !(!(*_M_p & _M_mask)); }
52 _Bit_reference& operator=(bool __x)
59 { return *this = bool(__x); }
60 bool operator==(const _Bit_reference& __x) const
61 { return bool(*this) == bool(__x); }
62 bool operator<(const _Bit_reference& __x) const {
63 return !bool(*this) && bool(__x);
70 bool __tmp = __x;
75 struct _Bit_iterator : public random_access_iterator<bool, ptrdiff_t> {
144 bool operator==(const iterator& __x) const {
147 bool operator!=(const iterator& __x) const {
150 bool operator<(iterator __x) const {
156 : public random_access_iterator<bool, ptrdiff_t>
158 typedef bool reference;
159 typedef bool const_reference;
160 typedef const bool* pointer;
233 bool operator==(const const_iterator& __x) const {
236 bool operator!=(const const_iterator& __x) const {
239 bool operator<(const_iterator __x) const {
250 template <class _Allocator, bool __is_static>
253 typedef typename _Alloc_traits<bool, _Allocator>::allocator_type
280 typedef typename _Alloc_traits<bool, _Allocator>::allocator_type
307 _Alloc_traits<bool, _Alloc>::_S_instanceless>
310 _Alloc_traits<bool, _Alloc>::_S_instanceless>
367 template<class _Alloc> class vector<bool,_Alloc>
371 : public _Bvector_base<__STL_DEFAULT_ALLOCATOR(bool) >
377 typedef _Bvector_base<__STL_DEFAULT_ALLOCATOR(bool) > _Base;
380 typedef bool value_type;
384 typedef bool const_reference;
386 typedef const bool* const_pointer;
420 void _M_insert_aux(iterator __position, bool __x) {
515 bool empty() const { return begin() == end(); }
526 __BVECTOR(size_type __n, bool __value,
578 __BVECTOR(const bool* __first, const bool* __last,
607 void assign(size_t __n, bool __x) {
628 { assign((size_t) __n, (bool) __val); }
677 void push_back(bool __x) {
688 iterator insert(iterator __position, bool __x = bool()) {
709 insert(__pos, (size_type) __n, (bool) __x);
741 void insert(iterator __position, const bool* __first, const bool* __last) {
763 void insert(iterator __position, size_type __n, bool __x) {
793 void resize(size_type __new_size, bool __x = bool()) {
804 typedef vector<bool, alloc> bit_vector;
808 inline bool
815 inline bool