Namespaces
Variants

std:: nullopt

From cppreference.net
Utilities library
Definiert im Header <optional>
inline constexpr nullopt_t nullopt { /*unspecified*/ } ;
(seit C++17)

std::nullopt ist eine Konstante vom Typ std::nullopt_t . 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)