/
usr
/
include
/
boost
/
type_traits
/
detail
/
/usr/include/boost/type_traits/detail
mkdir
upload
Name
Size
Mode
Actions
bool_trait_def.hpp
4762
0644
edit
dl
rm
bool_trait_undef.hpp
929
0644
edit
dl
rm
common_arithmetic_type.hpp
5585
0644
edit
dl
rm
common_type_impl.hpp
3028
0644
edit
dl
rm
composite_member_pointer_type.hpp
2823
0644
edit
dl
rm
composite_pointer_type.hpp
3624
0644
edit
dl
rm
config.hpp
4380
0644
edit
dl
rm
detector.hpp
915
0644
edit
dl
rm
has_binary_operator.hpp
12287
0644
edit
dl
rm
has_postfix_operator.hpp
10009
0644
edit
dl
rm
has_prefix_operator.hpp
10899
0644
edit
dl
rm
ice_and.hpp
1190
0644
edit
dl
rm
ice_eq.hpp
1165
0644
edit
dl
rm
ice_not.hpp
971
0644
edit
dl
rm
ice_or.hpp
1192
0644
edit
dl
rm
is_function_cxx_03.hpp
3072
0644
edit
dl
rm
is_function_cxx_11.hpp
30056
0644
edit
dl
rm
is_function_msvc10_fix.hpp
1925
0644
edit
dl
rm
is_function_ptr_helper.hpp
37000
0644
edit
dl
rm
is_function_ptr_tester.hpp
48427
0644
edit
dl
rm
is_likely_lambda.hpp
2650
0644
edit
dl
rm
is_member_function_pointer_cxx_03.hpp
3673
0644
edit
dl
rm
is_member_function_pointer_cxx_11.hpp
39455
0644
edit
dl
rm
is_mem_fun_pointer_impl.hpp
145750
0644
edit
dl
rm
is_mem_fun_pointer_tester.hpp
193755
0644
edit
dl
rm
is_rvalue_reference_msvc10_fix.hpp
3510
0644
edit
dl
rm
mp_defer.hpp
1359
0644
edit
dl
rm
template_arity_spec.hpp
535
0644
edit
dl
rm
yes_no_type.hpp
726
0644
edit
dl
rm
Edit:
/usr/include/boost/type_traits/detail/mp_defer.hpp
(1359B)
#ifndef BOOST_TYPE_TRAITS_DETAIL_MP_DEFER_HPP_INCLUDED #define BOOST_TYPE_TRAITS_DETAIL_MP_DEFER_HPP_INCLUDED // // Copyright 2015 Peter Dimov // // 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 // #include <boost/type_traits/integral_constant.hpp> #include <boost/type_traits/conditional.hpp> namespace boost { namespace type_traits_detail { // mp_valid // implementation by Bruno Dutra (by the name is_evaluable) template<template<class...> class F, class... T> struct mp_valid_impl { template<template<class...> class G, class = G<T...>> static boost::true_type check_s(int); template<template<class...> class> static boost::false_type check_s(...); using type = decltype(check_s<F>(0)); }; template<template<class...> class F, class... T> using mp_valid = typename mp_valid_impl<F, T...>::type; // mp_defer struct mp_empty { }; template<template<class...> class F, class... T> struct mp_defer_impl { using type = F<T...>; }; template<template<class...> class F, class... T> using mp_defer = typename boost::conditional<mp_valid<F, T...>::value, mp_defer_impl<F, T...>, mp_empty>::type; } // namespace type_traits_detail } // namespace boost #endif // #ifndef BOOST_TYPE_TRAITS_DETAIL_MP_DEFER_HPP_INCLUDED
Save
cmd:
run