About
Contact
QtCreator
KDevelop
Solarized
1
// Copyright 2021 Peter Dimov.
2
// Distributed under the Boost Software License, Version 1.0.
3
//
http://www.boost.org/LICENSE_1_0.txt
4
5
#include
<boost/system/errc.hpp>
6
7
int
main
()
8
{
9
make_error_code
(
e:
boost::system::errc::
success
).
value
();
10
make_error_code
(
e:
boost::system::errc::
success
).
category
();
11
make_error_code
(
e:
boost::system::errc::
success
).
default_error_condition
();
12
make_error_code
(
e:
boost::system::errc::
success
).
message
();
13
make_error_code
(
e:
boost::system::errc::
success
).
failed
();
14
make_error_code
(
e:
boost::system::errc::
success
).
clear
();
15
16
make_error_condition
(
e:
boost::system::errc::
success
).
value
();
17
make_error_condition
(
e:
boost::system::errc::
success
).
category
();
18
make_error_condition
(
e:
boost::system::errc::
success
).
message
();
19
make_error_condition
(
e:
boost::system::errc::
success
).
failed
();
20
make_error_condition
(
e:
boost::system::errc::
success
).
clear
();
21
22
make_error_code
(
e:
boost::system::errc::
no_such_file_or_directory
).
value
();
23
make_error_code
(
e:
boost::system::errc::
no_such_file_or_directory
).
category
();
24
make_error_code
(
e:
boost::system::errc::
no_such_file_or_directory
).
default_error_condition
();
25
make_error_code
(
e:
boost::system::errc::
no_such_file_or_directory
).
message
();
26
make_error_code
(
e:
boost::system::errc::
no_such_file_or_directory
).
failed
();
27
make_error_code
(
e:
boost::system::errc::
no_such_file_or_directory
).
clear
();
28
29
make_error_condition
(
e:
boost::system::errc::
no_such_file_or_directory
).
value
();
30
make_error_condition
(
e:
boost::system::errc::
no_such_file_or_directory
).
category
();
31
make_error_condition
(
e:
boost::system::errc::
no_such_file_or_directory
).
message
();
32
make_error_condition
(
e:
boost::system::errc::
no_such_file_or_directory
).
failed
();
33
make_error_condition
(
e:
boost::system::errc::
no_such_file_or_directory
).
clear
();
34
}
35