...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Copyright © 2012-2016 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)
Table of Contents
Sometimes getting and storing information about a type at runtime is required.
For such cases a construction like
&typeid(T) or C++11 class
is usually used, which is where problems start:
std::type_indexrequire Run Time Type Info (RTTI)
typeid(T)erroneously do not strip const, volatile and references from type
std::type_infoobjects across shared libraries
Boost.TypeIndex library was designed to work around all those issues.
Last revised: December 05, 2017 at 23:51:31 GMT