sparrow 1.0.0
|
Sentinel type to indicate a nullable value is null. More...
#include <nullable.hpp>
Public Member Functions | |
constexpr | nullval_t (int) |
Private constructor to prevent default construction. | |
Sentinel type to indicate a nullable value is null.
nullval_t is used to construct or assign nullable objects to a null state. It has a private constructor to prevent default construction and ensure only the predefined nullval constant is used.
Definition at line 156 of file nullable.hpp.
|
inlineexplicitconstexpr |
Private constructor to prevent default construction.
Definition at line 161 of file nullable.hpp.