Edit: /usr/include/boost/hana/erase_key.hpp (1029B)
/*!
@file
Defines `boost::hana::erase_key`.
@copyright Louis Dionne 2013-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_ERASE_KEY_HPP
#define BOOST_HANA_ERASE_KEY_HPP
#include
#include
#include
BOOST_HANA_NAMESPACE_BEGIN
//! @cond
template
constexpr decltype(auto) erase_key_t::operator()(Set&& set, Args&& ...args) const {
return erase_key_impl::type>::apply(
static_cast(set),
static_cast(args)...
);
}
//! @endcond
template
struct erase_key_impl> : default_ {
template
static constexpr auto apply(Args&& ...) = delete;
};
BOOST_HANA_NAMESPACE_END
#endif // !BOOST_HANA_ERASE_KEY_HPP