mirror of
https://github.com/boostorg/system.git
synced 2026-01-26 00:52:26 +01:00
Add error_code throws
[SVN r48577]
This commit is contained in:
@@ -396,6 +396,12 @@ namespace boost
|
||||
namespace system
|
||||
{
|
||||
|
||||
BOOST_SYSTEM_DECL error_code throws; // "throw on error" special error_code;
|
||||
// note that it doesn't matter if this
|
||||
// isn't initialized before use since
|
||||
// the only use is to take its
|
||||
// address for comparison purposes
|
||||
|
||||
BOOST_SYSTEM_DECL const error_category & get_system_category()
|
||||
{
|
||||
static const system_error_category system_category_const;
|
||||
|
||||
Reference in New Issue
Block a user