]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/hana/include/boost/hana/fwd/erase_key.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / hana / include / boost / hana / fwd / erase_key.hpp
CommitLineData
7c673cae
FG
1/*!
2@file
3Forward declares `boost::hana::erase_key`.
4
5@copyright Louis Dionne 2013-2016
6Distributed under the Boost Software License, Version 1.0.
7(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
8 */
9
10#ifndef BOOST_HANA_FWD_ERASE_KEY_HPP
11#define BOOST_HANA_FWD_ERASE_KEY_HPP
12
13#include <boost/hana/config.hpp>
14#include <boost/hana/core/when.hpp>
15
16
17BOOST_HANA_NAMESPACE_BEGIN
18 // Note: This function is documented per datatype/concept only.
19 //! @cond
20 template <typename T, typename = void>
21 struct erase_key_impl : erase_key_impl<T, when<true>> { };
22 //! @endcond
23
24 struct erase_key_t {
25 template <typename Set, typename ...Args>
26 constexpr decltype(auto) operator()(Set&& set, Args&& ...args) const;
27 };
28
29 constexpr erase_key_t erase_key{};
30BOOST_HANA_NAMESPACE_END
31
32#endif // !BOOST_HANA_FWD_ERASE_KEY_HPP