Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 5a839fb07a.
PrevUpHomeNext

Code bloat

Without RTTI TypeIndex library will switch from using boost::typeindex::stl_type_index class to boost::typeindex::ctti_type_index. boost::typeindex::ctti_type_index uses macro for getting full text representation of function name for each type that is passed to type_id() and type_id_with_cvr() functions.

This leads to big strings in binary file:

static const char* boost::detail::ctti<T>::n() [with T = int]
static const char* boost::detail::ctti<T>::n() [with T = user_defined_type]

While using RTTI, you'll get the following (more compact) string in binary file:

i
17user_defined_type

PrevUpHomeNext