/
usr
/
include
/
boost
/
type_erasure
/
/usr/include/boost/type_erasure
mkdir
upload
Name
Size
Mode
Actions
detail/
-
0755
rm
any.hpp
104285
0644
edit
dl
rm
any_cast.hpp
5492
0644
edit
dl
rm
binding.hpp
9045
0644
edit
dl
rm
binding_of.hpp
763
0644
edit
dl
rm
builtin.hpp
4318
0644
edit
dl
rm
call.hpp
21940
0644
edit
dl
rm
callable.hpp
13126
0644
edit
dl
rm
check_match.hpp
8181
0644
edit
dl
rm
concept_interface.hpp
1876
0644
edit
dl
rm
concept_of.hpp
1456
0644
edit
dl
rm
config.hpp
862
0644
edit
dl
rm
constructible.hpp
5344
0644
edit
dl
rm
deduced.hpp
1575
0644
edit
dl
rm
derived.hpp
927
0644
edit
dl
rm
dynamic_any_cast.hpp
8239
0644
edit
dl
rm
dynamic_binding.hpp
1099
0644
edit
dl
rm
exception.hpp
848
0644
edit
dl
rm
free.hpp
22187
0644
edit
dl
rm
is_empty.hpp
605
0644
edit
dl
rm
is_placeholder.hpp
830
0644
edit
dl
rm
is_subconcept.hpp
5377
0644
edit
dl
rm
iterator.hpp
9799
0644
edit
dl
rm
member.hpp
16813
0644
edit
dl
rm
operators.hpp
23235
0644
edit
dl
rm
param.hpp
9026
0644
edit
dl
rm
placeholder.hpp
2107
0644
edit
dl
rm
placeholder_of.hpp
1480
0644
edit
dl
rm
rebind_any.hpp
2018
0644
edit
dl
rm
register_binding.hpp
6431
0644
edit
dl
rm
relaxed.hpp
2646
0644
edit
dl
rm
require_match.hpp
7418
0644
edit
dl
rm
same_type.hpp
942
0644
edit
dl
rm
static_binding.hpp
831
0644
edit
dl
rm
tuple.hpp
17723
0644
edit
dl
rm
typeid_of.hpp
1866
0644
edit
dl
rm
Edit:
/usr/include/boost/type_erasure/typeid_of.hpp
(1866B)
// Boost.TypeErasure library // // Copyright 2011 Steven Watanabe // // 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) // // $Id$ #ifndef BOOST_TYPE_ERASURE_TYPEID_OF_HPP_INCLUDED #define BOOST_TYPE_ERASURE_TYPEID_OF_HPP_INCLUDED #include <boost/type_traits/remove_cv.hpp> #include <boost/type_traits/remove_reference.hpp> #include <boost/type_erasure/detail/access.hpp> #include <boost/type_erasure/any.hpp> #include <boost/type_erasure/binding.hpp> namespace boost { namespace type_erasure { /** * The first form returns the type currently stored in an @ref any. * * The second form returns the type corresponding to a * placeholder in @c binding. * * \pre @c Concept includes @ref typeid_ "typeid_<T>". * \pre @c T is a non-reference, CV-unqualified @ref placeholder. */ template<class Concept, class T> const std::type_info& typeid_of(const any<Concept, T>& arg) { return ::boost::type_erasure::detail::access::table(arg).template find< ::boost::type_erasure::typeid_< typename ::boost::remove_cv< typename ::boost::remove_reference<T>::type >::type > >()(); } #ifndef BOOST_TYPE_ERASURE_DOXYGEN template<class Concept, class T> const std::type_info& typeid_of(const param<Concept, T>& arg) { return ::boost::type_erasure::detail::access::table(arg).template find< ::boost::type_erasure::typeid_< typename ::boost::remove_cv< typename ::boost::remove_reference<T>::type >::type > >()(); } #endif /** * \overload */ template<class T, class Concept> const std::type_info& typeid_of(const binding<Concept>& binding_arg) { return binding_arg.template find< ::boost::type_erasure::typeid_<T> >()(); } } } #endif
Save
cmd:
run