/usr/include/boost/hof/detail
NameSizeModeActions
and.hpp13590644editdlrm
callable_base.hpp18620644editdlrm
can_be_called.hpp30010644editdlrm
compressed_pair.hpp36780644editdlrm
constexpr_deduce.hpp20760644editdlrm
delegate.hpp41930644editdlrm
forward.hpp11630644editdlrm
holder.hpp6780644editdlrm
intrinsics.hpp45500644editdlrm
join.hpp12210644editdlrm
make.hpp9620644editdlrm
move.hpp6890644editdlrm
noexcept.hpp6370644editdlrm
pp.hpp36740644editdlrm
recursive_constexpr_depth.hpp6660644editdlrm
remove_rvalue_reference.hpp7560644editdlrm
result_of.hpp24470644editdlrm
result_type.hpp11990644editdlrm
seq.hpp10010644editdlrm
static_const_var.hpp20350644editdlrm
unpack_tuple.hpp26520644editdlrm
unwrap.hpp7350644editdlrm
using.hpp8270644editdlrm
Edit: /usr/include/boost/hof/detail/callable_base.hpp (1862B)
/*============================================================================= Copyright (c) 2015 Paul Fultz II callable_base.h Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #ifndef BOOST_HOF_GUARD_CALLABLE_BASE_H #define BOOST_HOF_GUARD_CALLABLE_BASE_H #include #include #include #ifndef BOOST_HOF_CALLABLE_BASE_USE_TEMPLATE_ALIAS #if (defined(__GNUC__) && !defined (__clang__) && __GNUC__ == 4 && __GNUC_MINOR__ < 7) #define BOOST_HOF_CALLABLE_BASE_USE_TEMPLATE_ALIAS 0 #else #define BOOST_HOF_CALLABLE_BASE_USE_TEMPLATE_ALIAS 1 #endif #endif namespace boost { namespace hof { namespace detail { template struct non_class_function { F f; BOOST_HOF_DELEGATE_CONSTRUCTOR(non_class_function, F, f) template constexpr BOOST_HOF_SFINAE_RESULT(apply_f, id_, id_...) operator()(Ts&&... xs) const BOOST_HOF_SFINAE_RETURNS ( boost::hof::apply(f, BOOST_HOF_FORWARD(Ts)(xs)...) ); }; template struct callable_base_type : std::conditional<(BOOST_HOF_IS_CLASS(F) && !BOOST_HOF_IS_FINAL(F) && !BOOST_HOF_IS_POLYMORPHIC(F)), F, non_class_function> {}; #if BOOST_HOF_CALLABLE_BASE_USE_TEMPLATE_ALIAS template using callable_base = typename callable_base_type::type; #else template struct callable_base : callable_base_type::type { typedef typename callable_base_type::type base; BOOST_HOF_INHERIT_CONSTRUCTOR(callable_base, base) }; template struct callable_base_type> : callable_base_type {}; #endif }}} // namespace boost::hof #endif