1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef BOOST_ASIO_PLACEHOLDERS_HPP
- #define BOOST_ASIO_PLACEHOLDERS_HPP
- #if defined(_MSC_VER) && (_MSC_VER >= 1200)
- # pragma once
- #endif
- #include <boost/asio/detail/config.hpp>
- #include <boost/asio/detail/functional.hpp>
- #include <boost/asio/detail/push_options.hpp>
- namespace boost {
- namespace asio {
- namespace placeholders {
- #if defined(GENERATING_DOCUMENTATION)
- unspecified error;
- unspecified bytes_transferred;
- unspecified iterator;
- unspecified results;
- unspecified endpoint;
- unspecified signal_number;
- #else
- static constexpr auto& error = std::placeholders::_1;
- static constexpr auto& bytes_transferred = std::placeholders::_2;
- static constexpr auto& iterator = std::placeholders::_2;
- static constexpr auto& results = std::placeholders::_2;
- static constexpr auto& endpoint = std::placeholders::_2;
- static constexpr auto& signal_number = std::placeholders::_2;
- #endif
- }
- }
- }
- #include <boost/asio/detail/pop_options.hpp>
- #endif
|