Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
lib::anonymous_namespace{several-builder.hpp} Namespace Reference

Functions

template<typename TY >
constexpr size_t reqSiz ()
 Helper to determine the »spread« required to hold elements of type TY in memory with proper alignment.
 
constexpr size_t alignRes (size_t alignment)
 determine size of a reserve buffer to place with proper alignment
 

Variables

const uint INITIAL_ELM_CNT = 10
 number of storage slots to open initially; starting with an over-allocation similar to std::vector
 

Function Documentation

◆ reqSiz()

template<typename TY >
constexpr size_t reqSiz ( )
inlineconstexpr

Helper to determine the »spread« required to hold elements of type TY in memory with proper alignment.

Definition at line 151 of file several-builder.hpp.

References reqSiz().

Referenced by reqSiz().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ alignRes()

constexpr size_t alignRes ( size_t  alignment)
inlineconstexpr

determine size of a reserve buffer to place with proper alignment

Definition at line 163 of file several-builder.hpp.

References alignRes().

Referenced by alignRes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ INITIAL_ELM_CNT

const uint INITIAL_ELM_CNT = 10

number of storage slots to open initially; starting with an over-allocation similar to std::vector

Definition at line 122 of file several-builder.hpp.