...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Set the response status-code as an integer.
void result( unsigned v);
This sets the status code to the exact number passed in. If the number
does not correspond to one of the known status codes, the function result
will return status::unknown
. Use result_int
to obtain the original
raw status-code.
Name |
Description |
---|---|
|
The status-code integer to set. |
Type |
Thrown On |
---|---|
|
if |