]> git.proxmox.com Git - ceph.git/blame - ceph/src/Beast/include/beast/core/placeholders.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / Beast / include / beast / core / placeholders.hpp
CommitLineData
7c673cae
FG
1//
2// Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
3//
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)
6//
7
8#ifndef BEAST_PLACEHOLDERS_HPP
9#define BEAST_PLACEHOLDERS_HPP
10
11#include <beast/config.hpp>
12#include <functional>
13
14namespace beast {
15namespace asio {
16
17namespace placeholders {
18// asio placeholders that work with std::bind
19namespace {
20static auto const error (std::placeholders::_1);
21static auto const bytes_transferred (std::placeholders::_2);
22static auto const iterator (std::placeholders::_2);
23static auto const signal_number (std::placeholders::_2);
24}
25} // placeholders
26
27} // asio
28} // beast
29
30#endif