Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::error_category::error_category

      From cppreference.com
      <cpp‎ |error‎ |error category
       
       
      Utilities library
       
      Diagnostics library
       
       
      constexpr error_category()noexcept;
      (1)(since C++11)
      error_category(const error_category&)= delete;
      (2)(since C++11)
      1) Constructs the error category object.
      2) Copy constructor is deleted.error_category is neitherMoveConstructible norCopyConstructible.

      [edit]Parameters

      (none)

      [edit]Defect reports

      The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

      DRApplied toBehavior as publishedCorrect behavior
      LWG 2145C++11error_category was not constructibledefault constructor added
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/error/error_category/error_category&oldid=128691"

      [8]ページ先頭

      ©2009-2026 Movatter.jp