Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::get_unexpected

      From cppreference.com
      <cpp‎ |error
       
       
      Diagnostics library
       
      Defined in header<exception>
      std::unexpected_handler get_unexpected()noexcept;
      (deprecated in C++11)
      (removed in C++17)

      Returns the currently installedstd::unexpected_handler, which may be a null pointer.

      This function is thread-safe. Prior call tostd::set_unexpectedsynchronizes-with (seestd::memory_order) the subsequent calls to this function.

      (since C++11)

      [edit]Parameters

      (none)

      [edit]Return value

      The currently installedstd::unexpected_handler.

      [edit]See also

      (deprecated in C++11)(removed in C++17)
      the type of the function called bystd::unexpected
      (typedef)[edit]
      (deprecated in C++11)(removed in C++17)
      changes the function to be called bystd::unexpected
      (function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/error/get_unexpected&oldid=175323"

      [8]ページ先頭

      ©2009-2025 Movatter.jp