diff --git a/boost/type_index/type_index.hpp b/boost/type_index/type_index.hpp index 7ce724b..3a92198 100644 --- a/boost/type_index/type_index.hpp +++ b/boost/type_index/type_index.hpp @@ -19,8 +19,8 @@ /// boost::type_index class is used in situations when RTTI is enabled, it is designed to be a drop-in /// replacement for C++11 std::type_index class. /// -/// When RTTI is disabled boost::template_index will be used instead of -/// this class. +/// When RTTI is disabled boost::template_index will be usually (some compilers allow calling typeid(T) +/// even if RTTI is disabled) used instead of this class. #include #include diff --git a/boost/type_index/type_info.hpp b/boost/type_index/type_info.hpp index aaedaf8..ab7fe5a 100644 --- a/boost/type_index/type_info.hpp +++ b/boost/type_index/type_info.hpp @@ -22,7 +22,8 @@ /// /// boost::type_info class is used in situations when RTTI is enabled. /// When RTTI is disabled or BOOST_TYPE_INDEX_FORCE_NORTTI_COMPATIBILITY macro is defined boost::template_info -/// is usually used instead of it. +/// is usually used instead of it (some compilers allow calling typeid(T) +/// even if RTTI is disabled, those copilers will continue to use boost::type_info class). #include