tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
nullopt_t Struct Reference

etl::nullopt_t is an empty class type used to indicate optional type with uninitialized state. In particular, etl::optional has a constructor with nullopt_t as a single argument, which creates an optional that does not contain a value. More...

#include <nullopt.hpp>

Public Member Functions

constexpr nullopt_t (int)
 

Related Symbols

(Note that these are not member symbols.)

constexpr auto nullopt = etl::nullopt_t{0}
 etl::nullopt is a constant of type etl::nullopt_t that is used to indicate optional type with uninitialized state.
 

Detailed Description

etl::nullopt_t is an empty class type used to indicate optional type with uninitialized state. In particular, etl::optional has a constructor with nullopt_t as a single argument, which creates an optional that does not contain a value.

Constructor & Destructor Documentation

◆ nullopt_t()

nullopt_t ( int )
inlineexplicitconstexpr

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