Spec-Zone.ru › C++

std::error_code::assign

void assign( int val, const error_category& cat ) noexcept;
(since C++11)

Replaces the contents with error code value val and corresponding category cat.

Parameters

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

See also

operator=
assigns another error code
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/error/error_code/assign

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API