Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::nested_exception::nested_exception

      From cppreference.com
      <cpp‎ |error‎ |nested exception
       
       
      Utilities library
       
      Diagnostics library
       
       
      nested_exception()noexcept;
      (1)(since C++11)
      (constexpr since C++26)
      nested_exception(const nested_exception& other)noexcept=default;
      (2)(since C++11)
      (constexpr since C++26)

      Constructs newnested_exception object.

      1) Default constructor. Stores an exception object obtained by callingstd::current_exception() within the newnested_exception object.
      2) Copy constructor. Initializes the object with the exception stored inother.

      [edit]Parameters

      other - nested exception to initialize the contents with
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/error/nested_exception/nested_exception&oldid=177851"

      [8]ページ先頭

      ©2009-2025 Movatter.jp