From 74d5955a7af929c9b860116a78ee7825909ec561 Mon Sep 17 00:00:00 2001
From: John Maddock
@@ -84,7 +84,7 @@ given.
@@ -174,7 +174,7 @@ in the default template.
@@ -247,7 +247,7 @@ otherwise it will call the "slow but safe version".
@@ -597,7 +597,7 @@ easier to maintain and easier to understand.
@@ -610,7 +610,7 @@ can be optimal as well as generic.
@@ -618,7 +618,7 @@ comments when preparing this article.
- #include <boost/type_traits/common_type.hpp>
+ Header: #include
+ <boost/type_traits/common_type.hpp>
+ or #include <boost/type_traits.hpp>
namespace boost { template <class ...T> struct common_type; @@ -73,7 +75,7 @@ template arguments is 3.- + Configuration macros
@@ -103,7 +105,7 @@ Otherwise when BOOST_COMMON_TYPE_DONT_USE_TYPEOF is not defined it uses Boost.TypeOf.- + Tutorial
@@ -138,7 +140,7 @@ This is a very useful and broadly applicable utility.
- + How to get the common type of types with explicit conversions?
@@ -160,7 +162,7 @@ };
- #include <boost/type_traits/conditional.hpp>
+ Header: #include
+ <boost/type_traits/conditional.hpp>
+ or #include <boost/type_traits.hpp>
namespace boost { template <bool B, class T, class U> struct conditional; diff --git a/doc/html/boost_typetraits/reference/is_convertible.html b/doc/html/boost_typetraits/reference/is_convertible.html index 0d23f0c..10a7a60 100644 --- a/doc/html/boost_typetraits/reference/is_convertible.html +++ b/doc/html/boost_typetraits/reference/is_convertible.html @@ -106,7 +106,7 @@
is_convertible<int, int>::value
- is an integral constant expression that evaluates to false. + is an integral constant expression that evaluates to true.
is_convertible<T, T>::value_type
diff --git a/doc/html/boost_typetraits/reference/is_stateless.html b/doc/html/boost_typetraits/reference/is_stateless.html index 0786250..ee0c425 100644 --- a/doc/html/boost_typetraits/reference/is_stateless.html +++ b/doc/html/boost_typetraits/reference/is_stateless.html @@ -30,7 +30,7 @@ struct is_stateless : publictrue_type-or-false_type
{};- Inherits: Ff T is a stateless type then + Inherits: If T is a stateless type then inherits from true_type, otherwise from false_type.
diff --git a/doc/html/boost_typetraits/reference/is_virtual_base_of.html b/doc/html/boost_typetraits/reference/is_virtual_base_of.html index 997dae6..a1beeaa 100644 --- a/doc/html/boost_typetraits/reference/is_virtual_base_of.html +++ b/doc/html/boost_typetraits/reference/is_virtual_base_of.html @@ -83,9 +83,15 @@ that evaluates to true.+-
is_virtual_base_of<Base, Derived>::value
is an integral constant expression +is_virtual_base_of<SomeClassType, + SomeClassType>::value
is an integral constant expression that evaluates to true.+
is_virtual_base_of<NotAClassType, + NotAClassType>::value
is an integral constant expression + that evaluates to false. +
is_virtual_base_of<T, U>::value_type
is the typebool
. diff --git a/doc/html/index.html b/doc/html/index.html index 8c91095..19d4190 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -30,7 +30,7 @@ Marcus, Itay Maman, John Maddock, Alexander Nasonov, Thorsten Ottosen, Robert Ramey and Jeremy Siek-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)
diff --git a/doc/html/index/s11.html b/doc/html/index/s11.html index 28ed747..2e8efe8 100644 --- a/doc/html/index/s11.html +++ b/doc/html/index/s11.html @@ -24,7 +24,7 @@
- diff --git a/doc/html/index/s12.html b/doc/html/index/s12.html index 3ca1275..fcac226 100644 --- a/doc/html/index/s12.html +++ b/doc/html/index/s12.html @@ -24,7 +24,7 @@
- diff --git a/doc/html/index/s13.html b/doc/html/index/s13.html index 758c23e..9562420 100644 --- a/doc/html/index/s13.html +++ b/doc/html/index/s13.html @@ -24,7 +24,7 @@
- diff --git a/doc/html/index/s14.html b/doc/html/index/s14.html index 27f7280..b93cab0 100644 --- a/doc/html/index/s14.html +++ b/doc/html/index/s14.html @@ -23,7 +23,7 @@
- diff --git a/doc/is_convertible.qbk b/doc/is_convertible.qbk index ff6acb1..cbaf2fb 100644 --- a/doc/is_convertible.qbk +++ b/doc/is_convertible.qbk @@ -58,7 +58,7 @@ expression that evaluates to /false/: the conversion would require a `const_cast expression that evaluates to /true/.] [:`is_convertible
::value` is an integral constant -expression that evaluates to /false/.] +expression that evaluates to /true/.] [:`is_convertible ::value_type` is the type `bool`.] diff --git a/doc/is_stateless.qbk b/doc/is_stateless.qbk index 79db8b1..d2de82f 100644 --- a/doc/is_stateless.qbk +++ b/doc/is_stateless.qbk @@ -9,7 +9,7 @@ template struct is_stateless : public __tof {}; -__inherit Ff T is a stateless type then inherits from __true_type, otherwise +__inherit If T is a stateless type then inherits from __true_type, otherwise from __false_type. Type T must be a complete type. diff --git a/doc/is_virtual_base_of.qbk b/doc/is_virtual_base_of.qbk index f7b5f80..e229bc5 100644 --- a/doc/is_virtual_base_of.qbk +++ b/doc/is_virtual_base_of.qbk @@ -38,9 +38,12 @@ __examples [:`is_virtual_base_of ::value` is an integral constant expression that evaluates to /true/.] -[:`is_virtual_base_of ::value` is an integral constant +[:`is_virtual_base_of ::value` is an integral constant expression that evaluates to /true/.] +[:`is_virtual_base_of ::value` is an integral constant +expression that evaluates to /false/.] + [:`is_virtual_base_of ::value_type` is the type `bool`.] [endsect]