41#ifndef _QX_MODE_RELEASE
42#if _QX_USE_MEM_LEAK_DETECTION
87 operator bool()
const;
104 bool at(
unsigned long __idx)
const;
105 void reset(
unsigned long __idx);
106 void set(
unsigned long __idx);
110 unsigned long count(
unsigned long __beg,
unsigned long __end)
const;
155inline bool_array::_Element::operator bool()
const
171 throw std::out_of_range(
"invalid bool_array size");
174 throw std::bad_alloc();
198 size_t __byte_idx, __bit_idx;
200 throw std::out_of_range(
"invalid bool_array subscript");
201 __byte_idx = (size_t)(__idx / 8);
202 __bit_idx = (size_t)(__idx % 8);
203 return *(
_M_byte_ptr + __byte_idx) & (1 << __bit_idx) ? true :
false;
214 size_t __byte_idx, __bit_idx;
216 throw std::out_of_range(
"invalid bool_array subscript");
217 __byte_idx = (size_t)(__idx / 8);
218 __bit_idx = (size_t)(__idx % 8);
230 size_t __byte_idx, __bit_idx;
232 throw std::out_of_range(
"invalid bool_array subscript");
233 __byte_idx = (size_t)(__idx / 8);
234 __bit_idx = (size_t)(__idx % 8);
bool operator=(bool ___value)
_Element(BYTE *__ptr, unsigned long __idx)
static BYTE _S_bit_count[256]
void reset(unsigned long __idx)
bool create(unsigned long __size)
_Element operator[](unsigned long __idx)
bool at(unsigned long __idx) const
void initialize(bool ___value)
void set(unsigned long __idx)
unsigned long size() const
unsigned long count(unsigned long __beg, unsigned long __end) const
unsigned long count() const
QxOrm library memory leak detection (by Wu Yongwei)
Root namespace for all QxOrm library features.