REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::detail::small_vec< T, InlineCapacity >::inline_block Struct Reference

Active member (inline buffer or heap pointer) per is_heap_ state. More...

Public Attributes

elems [InlineCapacity]
 

Detailed Description

template<typename T, std::size_t InlineCapacity>
struct real::detail::small_vec< T, InlineCapacity >::inline_block

Active member (inline buffer or heap pointer) per is_heap_ state.

Inline element block. A struct (not a bare C array) so the union ctor can activate it as a whole with construct_at in a constant expression, while inline_data still indexes a plain C array — which the static analyzer can bound (a std::array's operator[] hides the extent and trips a false out-of-bounds on transfer_range).

Definition at line 248 of file storage.hpp.

Member Data Documentation

◆ elems

template<typename T , std::size_t InlineCapacity>
T real::detail::small_vec< T, InlineCapacity >::inline_block::elems[InlineCapacity]

Definition at line 250 of file storage.hpp.


The documentation for this struct was generated from the following file: