native 0.0.1
Vectors, masks and wide register packs for C++26
Loading...
Searching...
No Matches
Initialization
Collaboration diagram for Initialization:

Macros

#define native_constinit
 constinit
#define native_uninitialized
 [[clang::uninitialized]]
#define native_reinitializes
 [[clang::reinitializes]]

Detailed Description

Macro Definition Documentation

◆ native_constinit

#define native_constinit

constinit

constinit requires C++20, but __attribute__((require_constant_initialization)) was available slightly earlier.

Definition at line 414 of file attributes.h.

◆ native_reinitializes

#define native_reinitializes

[[clang::reinitializes]]

Indicates to any uninitialised object state sanitizer that this restores an object to a fresh state independent of its previous state.

Definition at line 443 of file attributes.h.

◆ native_uninitialized

#define native_uninitialized

[[clang::uninitialized]]

ensures a stack variable remains uninitialized regardless of -ftrivial-auto-var-init=* settings passed to the compiler

Definition at line 428 of file attributes.h.