Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
The nullopt_t type is a unique, empty type used to indicate an optional object doesn't contain a value.
The constant nullopt of type nullopt_t indicates an optional type has an uninitialized state. It can be used to initialize an optional object or compared with one.
Syntax
struct nullopt_t;
inline constexpr nullopt_t nullopt{ /*implementation-defined*/ };