Documentation source update

This commit is contained in:
Antony Polukhin
2012-06-03 14:53:24 +04:00
parent a83bd35fee
commit 6a7b7a0f19
2 changed files with 3 additions and 1 deletions

View File

@ -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
;

View File

@ -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