17 bool m_is_initialized =
false;
20 inline void debug_check_array_is_initialized()
const {
22 DCHECK(m_is_initialized);
27 (
iv_t&)(*
this) = std::move(iv);
34 IF_DEBUG(m_is_initialized = other.m_is_initialized;)
38 IF_DEBUG(m_is_initialized = other.m_is_initialized;)
51 debug_check_array_is_initialized();
53 return std::move(static_cast<iv_t&>(*
this));
58 debug_check_array_is_initialized();
Contains the text compression and encoding framework.
iv_t relinquish()
Forces the data structure to relinquish its data storage.
DynamicIntVector iv_t
The type of integer array to use as storage.
iv_t copy() const
Creates a copy of the data structure's storage.
A vector over arbitrary unsigned integer types.
ArrayDS & operator=(ArrayDS &&other)
Base for data structures that use an integer array as a storage.
IF_DEBUG(bool m_is_initialized=false;) inline void debug_check_array_is_initialized() const
void set_array(iv_t &&iv)
IntVector< dynamic_t > DynamicIntVector
Represents an integer vector with unspecified (dynamic) bit width.