Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::nullopt

      From cppreference.com
      <cpp‎ |utility‎ |optional
       
       
      Utilities library
       
       
      Defined in header<optional>
      inlineconstexpr nullopt_t nullopt{/*unspecified*/};
      (since C++17)

      std::nullopt is a constant of typestd::nullopt_t. Used to indicate that anstd::optional does not contain a value.

      [edit]See also

      (C++17)
      indicator of anstd::optional that does not contain a value
      (class)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/utility/optional/nullopt&oldid=172374"

      [8]ページ先頭

      ©2009-2025 Movatter.jp