tern.experimental.constexpr

Thin wrapper around tern.experimental.ds_allocator that allows for allocating a type in the data segment.

Members

Functions

constexpr
constexpr!T constexpr(T val)

Helper function to create a constexpr

Structs

constexpr
struct constexpr(T : U[], U)

Allocates T in the data segment when T is a dynamic array, this is used identically to T normally.

constexpr
struct constexpr(T, uint R0 = __LINE__, string R1 = __TIMESTAMP__, string R2 = __FILE_FULL_PATH__, string R3 = __FUNCTION__)

Allocates T in the data segment when T is *not* a dynamic array, this is used identically to T normally.

Meta