11 CSV_INLINE RawCSVField& CSVFieldList::operator[](
size_t n)
const {
12 const size_t page_no = n / _single_buffer_capacity;
13 const size_t buffer_idx = n % _single_buffer_capacity;
22 if (_back !=
nullptr) {
26 assert(_current_block < _block_capacity);
28 std::unique_ptr<RawCSVField[]>
block(
new RawCSVField[_single_buffer_capacity]);
30 this->_owned_blocks.push_back(std::move(
block));
32 this->_blocks[_current_block] =
block_ptr;
33 _current_buffer_size = 0;
#define CSV_INLINE
Helper macro which should be #defined as "inline" in the single header version.
CSV_CONST CONSTEXPR_17 OutArray arrayToDefault(T &&value)
Helper constexpr function to initialize an array with all the elements set to value.
The all encompassing namespace.
Internal data structures for CSV parsing.