/usr/include/boost
NameSizeModeActions
accumulators/-0755rm
algorithm/-0755rm
align/-0755rm
archive/-0755rm
asio/-0755rm
assert/-0755rm
assign/-0755rm
atomic/-0755rm
beast/-0755rm
bimap/-0755rm
bind/-0755rm
callable_traits/-0755rm
chrono/-0755rm
circular_buffer/-0755rm
compatibility/-0755rm
compute/-0755rm
concept/-0755rm
concept_check/-0755rm
config/-0755rm
container/-0755rm
container_hash/-0755rm
context/-0755rm
contract/-0755rm
convert/-0755rm
core/-0755rm
coroutine/-0755rm
coroutine2/-0755rm
date_time/-0755rm
detail/-0755rm
dll/-0755rm
dynamic_bitset/-0755rm
endian/-0755rm
exception/-0755rm
fiber/-0755rm
filesystem/-0755rm
flyweight/-0755rm
format/-0755rm
function/-0755rm
functional/-0755rm
function_types/-0755rm
fusion/-0755rm
geometry/-0755rm
gil/-0755rm
graph/-0755rm
hana/-0755rm
heap/-0755rm
histogram/-0755rm
hof/-0755rm
icl/-0755rm
integer/-0755rm
interprocess/-0755rm
intrusive/-0755rm
io/-0755rm
iostreams/-0755rm
iterator/-0755rm
lambda/-0755rm
lexical_cast/-0755rm
locale/-0755rm
local_function/-0755rm
lockfree/-0755rm
log/-0755rm
logic/-0755rm
math/-0755rm
metaparse/-0755rm
move/-0755rm
mp11/-0755rm
mpi/-0755rm
mpl/-0755rm
msm/-0755rm
multiprecision/-0755rm
multi_array/-0755rm
multi_index/-0755rm
nowide/-0755rm
numeric/-0755rm
optional/-0755rm
outcome/-0755rm
parameter/-0755rm
pending/-0755rm
phoenix/-0755rm
polygon/-0755rm
poly_collection/-0755rm
pool/-0755rm
predef/-0755rm
preprocessor/-0755rm
process/-0755rm
program_options/-0755rm
property_map/-0755rm
property_tree/-0755rm
proto/-0755rm
ptr_container/-0755rm
python/-0755rm
qvm/-0755rm
random/-0755rm
range/-0755rm
ratio/-0755rm
regex/-0755rm
safe_numerics/-0755rm
serialization/-0755rm
signals2/-0755rm
smart_ptr/-0755rm
sort/-0755rm
spirit/-0755rm
stacktrace/-0755rm
statechart/-0755rm
static_string/-0755rm
stl_interfaces/-0755rm
system/-0755rm
test/-0755rm
thread/-0755rm
timer/-0755rm
tti/-0755rm
tuple/-0755rm
typeof/-0755rm
type_erasure/-0755rm
type_index/-0755rm
type_traits/-0755rm
units/-0755rm
unordered/-0755rm
utility/-0755rm
uuid/-0755rm
variant/-0755rm
variant2/-0755rm
vmd/-0755rm
wave/-0755rm
winapi/-0755rm
xpressive/-0755rm
yap/-0755rm
align.hpp6330644editdlrm
aligned_storage.hpp6530644editdlrm
any.hpp94720644editdlrm
array.hpp158270644editdlrm
asio.hpp74720644editdlrm
assert.hpp26250644editdlrm
assign.hpp5920644editdlrm
atomic.hpp7540644editdlrm
beast.hpp5910644editdlrm
bimap.hpp3870644editdlrm
bind.hpp18090644editdlrm
blank.hpp19850644editdlrm
blank_fwd.hpp6180644editdlrm
callable_traits.hpp21380644editdlrm
call_traits.hpp6330644editdlrm
cast.hpp5840644editdlrm
cerrno.hpp41870644editdlrm
checked_delete.hpp4140644editdlrm
chrono.hpp7060644editdlrm
circular_buffer.hpp19460644editdlrm
circular_buffer_fwd.hpp11370644editdlrm
compressed_pair.hpp6530644editdlrm
compute.hpp15230644editdlrm
concept_archetype.hpp237250644editdlrm
concept_check.hpp319770644editdlrm
config.hpp22160644editdlrm
contract.hpp18420644editdlrm
contract_macro.hpp564970644editdlrm
convert.hpp74020644editdlrm
crc.hpp948830644editdlrm
cregex.hpp7210644editdlrm
cstdfloat.hpp26110644editdlrm
cstdint.hpp184970644editdlrm
cstdlib.hpp17390644editdlrm
current_function.hpp16810644editdlrm
cxx11_char_types.hpp41600644editdlrm
date_time.hpp5400644editdlrm
dll.hpp7120644editdlrm
dynamic_bitset.hpp5600644editdlrm
dynamic_bitset_fwd.hpp6750644editdlrm
enable_shared_from_this.hpp5250644editdlrm
endian.hpp3640644editdlrm
exception_ptr.hpp3960644editdlrm
filesystem.hpp8620644editdlrm
flyweight.hpp6040644editdlrm
foreach.hpp455510644editdlrm
foreach_fwd.hpp17020644editdlrm
format.hpp21790644editdlrm
function.hpp25240644editdlrm
functional.hpp201240644editdlrm
function_equal.hpp7910644editdlrm
function_output_iterator.hpp6300644editdlrm
generator_iterator.hpp20280644editdlrm
geometry.hpp7040644editdlrm
get_pointer.hpp22880644editdlrm
gil.hpp16970644editdlrm
hana.hpp68070644editdlrm
histogram.hpp13120644editdlrm
hof.hpp20090644editdlrm
implicit_cast.hpp8100644editdlrm
indirect_reference.hpp10360644editdlrm
integer.hpp115930644editdlrm
integer_fwd.hpp51810644editdlrm
integer_traits.hpp83190644editdlrm
intrusive_ptr.hpp4810644editdlrm
io_fwd.hpp18790644editdlrm
is_placeholder.hpp6340644editdlrm
iterator.hpp4590644editdlrm
iterator_adaptors.hpp4660644editdlrm
lexical_cast.hpp32750644editdlrm
limits.hpp61560644editdlrm
locale.hpp8870644editdlrm
local_function.hpp188580644editdlrm
make_default.hpp15100644editdlrm
make_shared.hpp4640644editdlrm
make_unique.hpp2930644editdlrm
math_fwd.hpp9750644editdlrm
memory_order.hpp24570644editdlrm
mem_fn.hpp5960644editdlrm
metaparse.hpp52810644editdlrm
mp11.hpp6410644editdlrm
mpi.hpp11010644editdlrm
multi_array.hpp180210644editdlrm
multi_index_container.hpp449830644editdlrm
multi_index_container_fwd.hpp37760644editdlrm
next_prior.hpp51270644editdlrm
noncopyable.hpp4020644editdlrm
nondet_random.hpp5320644editdlrm
none.hpp16090644editdlrm
none_t.hpp9530644editdlrm
non_type.hpp6190644editdlrm
operators.hpp365740644editdlrm
operators_v1.hpp377350644editdlrm
optional.hpp5280644editdlrm
outcome.hpp16990644editdlrm
parameter.hpp10820644editdlrm
phoenix.hpp4760644editdlrm
pointee.hpp18070644editdlrm
pointer_cast.hpp36880644editdlrm
pointer_to_other.hpp11970644editdlrm
polymorphic_cast.hpp52820644editdlrm
polymorphic_pointer_cast.hpp28290644editdlrm
predef.h6350644editdlrm
preprocessor.hpp4870644editdlrm
process.hpp13660644editdlrm
program_options.hpp8200644editdlrm
progress.hpp57340644editdlrm
python.hpp29500644editdlrm
random.hpp38540644editdlrm
range.hpp6030644editdlrm
ratio.hpp3490644editdlrm
rational.hpp397200644editdlrm
ref.hpp3700644editdlrm
regex.h21740644editdlrm
regex.hpp8230644editdlrm
regex_fwd.hpp6930644editdlrm
scoped_array.hpp5060644editdlrm
scoped_ptr.hpp4970644editdlrm
scope_exit.hpp547450644editdlrm
shared_array.hpp5360644editdlrm
shared_container_iterator.hpp21540644editdlrm
shared_ptr.hpp5250644editdlrm
signals2.hpp7520644editdlrm
smart_ptr.hpp7800644editdlrm
spirit.hpp11330644editdlrm
stacktrace.hpp4990644editdlrm
static_assert.hpp72130644editdlrm
static_string.hpp4230644editdlrm
swap.hpp3740644editdlrm
thread.hpp8390644editdlrm
throw_exception.hpp43280644editdlrm
timer.hpp27810644editdlrm
tokenizer.hpp27830644editdlrm
token_functions.hpp193490644editdlrm
token_iterator.hpp38100644editdlrm
type.hpp4810644editdlrm
type_index.hpp107570644editdlrm
type_traits.hpp74310644editdlrm
unordered_map.hpp5680644editdlrm
unordered_set.hpp5680644editdlrm
utility.hpp8800644editdlrm
variant.hpp8830644editdlrm
version.hpp11170644editdlrm
visit_each.hpp6900644editdlrm
wave.hpp9440644editdlrm
weak_ptr.hpp4620644editdlrm
Edit: /usr/include/boost/type_index.hpp (10757B)
// // Copyright 2012-2020 Antony Polukhin. // // 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_TYPE_INDEX_HPP #define BOOST_TYPE_INDEX_HPP /// \file boost/type_index.hpp /// \brief Includes minimal set of headers required to use the Boost.TypeIndex library. /// /// By inclusion of this file most optimal type index classes will be included and used /// as a boost::typeindex::type_index and boost::typeindex::type_info. #include #ifdef BOOST_HAS_PRAGMA_ONCE # pragma once #endif #if defined(BOOST_TYPE_INDEX_USER_TYPEINDEX) # include BOOST_TYPE_INDEX_USER_TYPEINDEX # ifdef BOOST_HAS_PRAGMA_DETECT_MISMATCH # pragma detect_mismatch( "boost__type_index__abi", "user defined type_index class is used: " BOOST_STRINGIZE(BOOST_TYPE_INDEX_USER_TYPEINDEX)) # endif #elif (!defined(BOOST_NO_RTTI) && !defined(BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY)) || defined(BOOST_MSVC) # include # if defined(BOOST_NO_RTTI) || defined(BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY) # include # ifdef BOOST_HAS_PRAGMA_DETECT_MISMATCH # pragma detect_mismatch( "boost__type_index__abi", "RTTI is off - typeid() is used only for templates") # endif # else # ifdef BOOST_HAS_PRAGMA_DETECT_MISMATCH # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") # endif # endif #else # include # include # ifdef BOOST_HAS_PRAGMA_DETECT_MISMATCH # pragma detect_mismatch( "boost__type_index__abi", "RTTI is off - using CTTI") # endif #endif #ifndef BOOST_TYPE_INDEX_REGISTER_CLASS #define BOOST_TYPE_INDEX_REGISTER_CLASS #endif namespace boost { namespace typeindex { #if defined(BOOST_TYPE_INDEX_DOXYGEN_INVOKED) /// \def BOOST_TYPE_INDEX_FUNCTION_SIGNATURE /// BOOST_TYPE_INDEX_FUNCTION_SIGNATURE is used by boost::typeindex::ctti_type_index class to /// deduce the name of a type. If your compiler is not recognized /// by the TypeIndex library and you wish to work with boost::typeindex::ctti_type_index, you may /// define this macro by yourself. /// /// BOOST_TYPE_INDEX_FUNCTION_SIGNATURE must be defined to a compiler specific macro /// that outputs the \b whole function signature \b including \b template \b parameters. /// /// If your compiler is not recognised and BOOST_TYPE_INDEX_FUNCTION_SIGNATURE is not defined, /// then a compile-time error will arise at any attempt to use boost::typeindex::ctti_type_index classes. /// /// See BOOST_TYPE_INDEX_REGISTER_CTTI_PARSING_PARAMS and BOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING /// for an information of how to tune the implementation to make a nice pretty_name() output. #define BOOST_TYPE_INDEX_FUNCTION_SIGNATURE BOOST_CURRENT_FUNCTION /// \def BOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING /// This is a helper macro for making correct pretty_names() with RTTI off. /// /// BOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING macro may be defined to /// '(begin_skip, end_skip, runtime_skip, runtime_skip_until)' with parameters for adding a /// support for compilers, that by default are not recognized by TypeIndex library. /// /// \b Example: /// /// Imagine the situation when /// \code boost::typeindex::ctti_type_index::type_id().pretty_name() \endcode /// returns the following string: /// \code "static const char *boost::detail::ctti::n() [T = int]" \endcode /// and \code boost::typeindex::ctti_type_index::type_id().pretty_name() \endcode returns the following: /// \code "static const char *boost::detail::ctti::n() [T = short]" \endcode /// /// As we may see first 39 characters are "static const char *boost::detail::ctti<" and they do not depend on /// the type T. After first 39 characters we have a human readable type name which is duplicated at the end /// of a string. String always ends on ']', which consumes 1 character. /// /// Now if we define `BOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING` to /// `(39, 1, false, "")` we'll be getting \code "int>::n() [T = int" \endcode /// for `boost::typeindex::ctti_type_index::type_id().pretty_name()` and \code "short>::n() [T = short" \endcode /// for `boost::typeindex::ctti_type_index::type_id().pretty_name()`. /// /// Now we need to take additional care of the characters that go before the last mention of our type. We'll /// do that by telling the macro that we need to cut off everything that goes before the "T = " including the "T = " /// itself: /// /// \code (39, 1, true, "T = ") \endcode /// /// In case of GCC or Clang command line we need to add the following line while compiling all the sources: /// /// \code /// -DBOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING='(39, 1, true, "T = ")' /// \endcode /// \param begin_skip How many characters must be skipped at the beginning of the type holding string. /// Must be a compile time constant. /// \param end_skip How many characters must be skipped at the end of the type holding string. /// Must be a compile time constant. /// \param runtime_skip Do we need additional checks at runtime to cut off the more characters. /// Must be `true` or `false`. /// \param runtime_skip_until Skip all the characters before the following string (including the string itself). /// Must be a compile time array of characters. /// /// See [RTTI emulation limitations](boost_typeindex/rtti_emulation_limitations.html) for more info. #define BOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING (0, 0, false, "") /// Depending on a compiler flags, optimal implementation of type_index will be used /// as a default boost::typeindex::type_index. /// /// Could be a boost::typeindex::stl_type_index, boost::typeindex::ctti_type_index or /// user defined type_index class. /// /// \b See boost::typeindex::type_index_facade for a full description of type_index functions. typedef platform_specific type_index; #elif defined(BOOST_TYPE_INDEX_USER_TYPEINDEX) // Nothing to do #elif (!defined(BOOST_NO_RTTI) && !defined(BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY)) || defined(BOOST_MSVC) typedef boost::typeindex::stl_type_index type_index; #else typedef boost::typeindex::ctti_type_index type_index; #endif /// Depending on a compiler flags, optimal implementation of type_info will be used /// as a default boost::typeindex::type_info. /// /// Could be a std::type_info, boost::typeindex::detail::ctti_data or /// some user defined class. /// /// type_info \b is \b not copyable or default constructible. It is \b not assignable too! typedef type_index::type_info_t type_info; #if defined(BOOST_TYPE_INDEX_DOXYGEN_INVOKED) /// \def BOOST_TYPE_INDEX_USER_TYPEINDEX /// BOOST_TYPE_INDEX_USER_TYPEINDEX can be defined to the path to header file /// with user provided implementation of type_index. /// /// See [Making a custom type_index](boost_typeindex/making_a_custom_type_index.html) section /// of documentation for usage example. #define BOOST_TYPE_INDEX_USER_TYPEINDEX /// \def BOOST_TYPE_INDEX_REGISTER_CLASS /// BOOST_TYPE_INDEX_REGISTER_CLASS is used to help to emulate RTTI. /// Put this macro into the public section of polymorphic class to allow runtime type detection. /// /// Depending on the typeid() availability this macro will expand to nothing or to virtual helper function /// `virtual const type_info& boost_type_info_type_id_runtime_() const noexcept`. /// /// \b Example: /// \code /// class A { /// public: /// BOOST_TYPE_INDEX_REGISTER_CLASS /// virtual ~A(){} /// }; /// /// struct B: public A { /// BOOST_TYPE_INDEX_REGISTER_CLASS /// }; /// /// struct C: public B { /// BOOST_TYPE_INDEX_REGISTER_CLASS /// }; /// /// ... /// /// C c1; /// A* pc1 = &c1; /// assert(boost::typeindex::type_id() == boost::typeindex::type_id_runtime(*pc1)); /// \endcode #define BOOST_TYPE_INDEX_REGISTER_CLASS nothing-or-some-virtual-functions /// \def BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY /// BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY is a helper macro that must be defined if mixing /// RTTI on/off modules. See /// [Mixing sources with RTTI on and RTTI off](boost_typeindex/mixing_sources_with_rtti_on_and_.html) /// section of documentation for more info. #define BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY #endif // defined(BOOST_TYPE_INDEX_DOXYGEN_INVOKED) /// Function to get boost::typeindex::type_index for a type T. /// Removes const, volatile && and & modifiers from T. /// /// \b Example: /// \code /// type_index ti = type_id(); /// std::cout << ti.pretty_name(); // Outputs 'int' /// \endcode /// /// \tparam T Type for which type_index must be created. /// \throw Nothing. /// \return boost::typeindex::type_index with information about the specified type T. template inline type_index type_id() BOOST_NOEXCEPT { return type_index::type_id(); } /// Function for constructing boost::typeindex::type_index instance for type T. /// Does not remove const, volatile, & and && modifiers from T. /// /// If T has no const, volatile, & and && modifiers, then returns exactly /// the same result as in case of calling `type_id()`. /// /// \b Example: /// \code /// type_index ti = type_id_with_cvr(); /// std::cout << ti.pretty_name(); // Outputs 'int&' /// \endcode /// /// \tparam T Type for which type_index must be created. /// \throw Nothing. /// \return boost::typeindex::type_index with information about the specified type T. template inline type_index type_id_with_cvr() BOOST_NOEXCEPT { return type_index::type_id_with_cvr(); } /// Function that works exactly like C++ typeid(rtti_val) call, but returns boost::type_index. /// /// Returns runtime information about specified type. /// /// \b Requirements: RTTI available or Base and Derived classes must be marked with BOOST_TYPE_INDEX_REGISTER_CLASS. /// /// \b Example: /// \code /// struct Base { virtual ~Base(){} }; /// struct Derived: public Base {}; /// ... /// Derived d; /// Base& b = d; /// type_index ti = type_id_runtime(b); /// std::cout << ti.pretty_name(); // Outputs 'Derived' /// \endcode /// /// \param runtime_val Variable which runtime type must be returned. /// \throw Nothing. /// \return boost::typeindex::type_index with information about the specified variable. template inline type_index type_id_runtime(const T& runtime_val) BOOST_NOEXCEPT { return type_index::type_id_runtime(runtime_val); } }} // namespace boost::typeindex #endif // BOOST_TYPE_INDEX_HPP