std::nullopt
Von de.cppreference.net
| Definiert im Header <optional>
|
||
inline constexpr nullopt_t nullopt{/*unspecified*/};
|
(seit C++17) | |
std::nullopt ist eine Konstante vom Typ std::nullopt_t. Sie wird verwendet, um anzuzeigen, dass ein std::optional keinen Wert enthält.
Siehe auch
|
(C++17)
|
Indikator für ein
std::optional
, das keinen Wert enthält
(Klasse) |