sparrow 1.0.0
Loading...
Searching...
No Matches
sparrow::nullval_t Struct Reference

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.
 

Detailed Description

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.

Examples
/home/runner/work/sparrow/sparrow/include/sparrow/utils/nullable.hpp.

Definition at line 156 of file nullable.hpp.

Constructor & Destructor Documentation

◆ nullval_t()

sparrow::nullval_t::nullval_t ( int )
inlineexplicitconstexpr

Private constructor to prevent default construction.

Examples
/home/runner/work/sparrow/sparrow/include/sparrow/utils/nullable.hpp.

Definition at line 161 of file nullable.hpp.


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