]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/callable_traits/example/function_types_remove_const_comparison.cpp
2 Copyright Barrett Adair 2016-2017
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE.md or copy at http ://boost.org/LICENSE_1_0.txt)
7 //[ function_types_remove_const_comparison
9 #include <boost/callable_traits/remove_member_const.hpp>
15 using const_removed
= boost::callable_traits::remove_member_const_t
<decltype(&foo::bar
)>;
17 static_assert(std::is_same
<const_removed
, void(foo::*)()>::value
, "");