/
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/detector.hpp
(915B)
/* Copyright 2017-2018 Glen Joseph Fernandes (glenjofe@gmail.com) 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_TT_DETAIL_DETECTOR_HPP_INCLUDED #define BOOST_TT_DETAIL_DETECTOR_HPP_INCLUDED #include <boost/type_traits/integral_constant.hpp> #include <boost/type_traits/make_void.hpp> namespace boost { namespace detail { template<class T> using detector_t = typename boost::make_void<T>::type; template<class Default, class, template<class...> class, class...> struct detector { using value_t = boost::false_type; using type = Default; }; template<class Default, template<class...> class Op, class... Args> struct detector<Default, detector_t<Op<Args...> >, Op, Args...> { using value_t = boost::true_type; using type = Op<Args...>; }; } /* detail */ } /* boost */ #endif
Save
cmd:
run