[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/utility/optional/nullopt_t [Back]  [Original]

std::nullopt_t cppreference.com
cppreference.com

std::nullopt_t

cppreference.com
 
C++
(C++20)
(C++20)
(C++11)
(C++20)
/
(C++11)
(C++11)
(C++11)
(C++17)
 
 
 
<tbody> </tbody>
struct nullopt_t;
( C++17)

std::nullopt_t , optional . , std::optional nullopt_t , , .

std::nullopt_t LiteralType .

constexpr, , .

nullopt_t op = {};, op = nullopt; optional.

struct nullopt_t {
    constexpr explicit nullopt_t(int) {}
};

(C++17)
nullopt_t
() []

Web Proxy Viewer  |  New URL  |  Original Page