forked from boostorg/type_index
Documentation source update
This commit is contained in:
@ -11,7 +11,8 @@ boostbook standalone
|
||||
:
|
||||
type_index
|
||||
:
|
||||
<xsl:param>boost.root=../../../..
|
||||
<xsl:param>boost.root=http://www.boost.org/doc/libs/1_49_0
|
||||
# <xsl:param>boost.root=../../../..
|
||||
<format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html
|
||||
;
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
[section Motivation]
|
||||
Sometimes getting and storing at runtime information about template type is required. For such cases usually used a construction like `&typeid(T)` or C++11 class `std::type_index`. And that is the point, where problems strat:
|
||||
|
||||
* `typeid(T)` and `std::type_index` require Run Time Type Info (RTTI)
|
||||
* `typeid(T)` strips const, volatile and references from type
|
||||
* some compilers have bugs and do not correctly compare `std::type_info` across shared libraries
|
||||
|
Reference in New Issue
Block a user