◐ Shell
clean mode source ↗

std::nullopt - cppreference.com

提供: cppreference.com

<tbody> </tbody>

inline constexpr nullopt_t nullopt{/*unspecified*/};

(C++17以上)

std::nullopt は、未初期化状態の optional 型を表すために使用される、 std::nullopt_t 型の定数です。

関連項目