2 // Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BEAST_PLACEHOLDERS_HPP
9 #define BEAST_PLACEHOLDERS_HPP
11 #include <beast/config.hpp>
17 namespace placeholders {
18 // asio placeholders that work with std::bind
20 static auto const error (std::placeholders::_1);
21 static auto const bytes_transferred (std::placeholders::_2);
22 static auto const iterator (std::placeholders::_2);
23 static auto const signal_number (std::placeholders::_2);