11 #ifndef ASIO_PLACEHOLDERS_HPP 12 #define ASIO_PLACEHOLDERS_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if defined(ASIO_HAS_BOOST_BIND) 21 # include <boost/bind/arg.hpp> 22 #endif // defined(ASIO_HAS_BOOST_BIND) 27 namespace placeholders {
29 #if defined(GENERATING_DOCUMENTATION) 39 unspecified bytes_transferred;
49 unspecified signal_number;
51 #elif defined(ASIO_HAS_BOOST_BIND) 52 # if defined(__BORLANDC__) || defined(__GNUC__) 54 inline boost::arg<1> error()
56 return boost::arg<1>();
59 inline boost::arg<2> bytes_transferred()
61 return boost::arg<2>();
64 inline boost::arg<2> iterator()
66 return boost::arg<2>();
69 inline boost::arg<2> signal_number()
71 return boost::arg<2>();
81 static boost::arg<Number>&
get()
83 static boost::arg<Number> result;
89 # if defined(ASIO_MSVC) && (ASIO_MSVC < 1400) 91 static boost::arg<1>& error
93 static boost::arg<2>& bytes_transferred
95 static boost::arg<2>& iterator
97 static boost::arg<2>& signal_number
106 boost::arg<2>& bytes_transferred
108 boost::arg<2>& iterator
110 boost::arg<2>& signal_number
123 #endif // ASIO_PLACEHOLDERS_HPP
detail::read_until_match_op< AsyncReadStream, Allocator, MatchCondition, ASIO_HANDLER_TYPE(ReadHandler, void(asio::error_code, std::size_t))>(s, b, match_condition, init.handler)(asio return init result get()