Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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*/ };