Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::error_code::assign

      From cppreference.com
      <cpp‎ |error‎ |error code
       
       
      Utilities library
       
      Diagnostics library
       
       
      void assign(int val,const error_category& cat)noexcept;
      (since C++11)

      Replaces the contents with error code valueval and corresponding categorycat.

      [edit]Parameters

      val - platform-dependent error code value to assign
      cat - error category corresponding toval

      [edit]Return value

      (none)

      [edit]See also

      assigns another error code
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/error/error_code/assign&oldid=161076"

      [8]ページ先頭

      ©2009-2025 Movatter.jp