123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef ASIO_ERROR_CODE_HPP
- #define ASIO_ERROR_CODE_HPP
- #if defined(_MSC_VER) && (_MSC_VER >= 1200)
- # pragma once
- #endif
- #include "asio/detail/config.hpp"
- #include <system_error>
- #include "asio/detail/push_options.hpp"
- namespace asio {
- typedef std::error_category error_category;
- typedef std::error_code error_code;
- extern ASIO_DECL const error_category& system_category();
- }
- #include "asio/detail/pop_options.hpp"
- #if defined(ASIO_HEADER_ONLY)
- # include "asio/impl/error_code.ipp"
- #endif
- #endif
|