1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #ifndef BOOST_SYSTEM_ERRC_HPP_INCLUDED
- #define BOOST_SYSTEM_ERRC_HPP_INCLUDED
- #include <boost/system/detail/errc.hpp>
- #include <boost/system/detail/error_code.hpp>
- #include <boost/system/detail/error_condition.hpp>
- #include <boost/system/detail/generic_category.hpp>
- #include <boost/system/detail/error_category_impl.hpp>
- #include <boost/system/detail/config.hpp>
- #include <boost/config.hpp>
- namespace boost
- {
- namespace system
- {
- namespace errc
- {
- BOOST_SYSTEM_CONSTEXPR inline error_code make_error_code( errc_t e ) BOOST_NOEXCEPT
- {
- return error_code( e, generic_category() );
- }
- BOOST_SYSTEM_CONSTEXPR inline error_condition make_error_condition( errc_t e ) BOOST_NOEXCEPT
- {
- return error_condition( e, generic_category() );
- }
- }
- }
- }
- #endif
|