std::nullopt - cppreference.com
来自cppreference.com
inline constexpr nullopt_t nullopt{/* 未指明 */}; |
(C++17 起) | |
std::nullopt 是 std::nullopt_t 类型的常量,用于指示 optional 不含值。
来自cppreference.com
inline constexpr nullopt_t nullopt{/* 未指明 */}; |
(C++17 起) | |
std::nullopt 是 std::nullopt_t 类型的常量,用于指示 optional 不含值。