From 6a7b7a0f19cc81eb6da39bda9da92bb12c6056e4 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Sun, 3 Jun 2012 14:53:24 +0400 Subject: [PATCH] Documentation source update --- libs/type_index/doc/Jamfile.v2 | 3 ++- libs/type_index/doc/type_index.qbk | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/type_index/doc/Jamfile.v2 b/libs/type_index/doc/Jamfile.v2 index 497b7da..75ef811 100644 --- a/libs/type_index/doc/Jamfile.v2 +++ b/libs/type_index/doc/Jamfile.v2 @@ -11,7 +11,8 @@ boostbook standalone : type_index : - boost.root=../../../.. + boost.root=http://www.boost.org/doc/libs/1_49_0 +# boost.root=../../../.. pdf:boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html ; diff --git a/libs/type_index/doc/type_index.qbk b/libs/type_index/doc/type_index.qbk index 74da46e..c54a647 100644 --- a/libs/type_index/doc/type_index.qbk +++ b/libs/type_index/doc/type_index.qbk @@ -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