From f79939445709dc829382d659b08716adbcda8d25 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 12 Dec 2006 16:14:41 +0000 Subject: [PATCH] Fix is_base_of example. [SVN r36348] --- doc/type_traits.qbk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/type_traits.qbk b/doc/type_traits.qbk index 5461646..8795f12 100644 --- a/doc/type_traits.qbk +++ b/doc/type_traits.qbk @@ -1795,11 +1795,11 @@ __examples [:`is_base_of::value` is an integral constant expression that evaluates to /true/.] -[:`is_base_of::value` is an integral constant -expression that evaluates to /false/: a class is not it's own base.] +[:`is_base_of::value` is an integral constant +expression that evaluates to /true/.] -[:`is_base_of::value` is an integral constant -expression that evaluates to /false/: the arguments are the wrong way round.] +[:`is_base_of::value` is an integral constant +expression that evaluates to /true/: a class is regarded as it's own base.] [:`is_base_of::value_type` is the type `bool`.] @@ -2994,3 +2994,5 @@ www.boost.org/more/mailing_lists.htm#main] for subscription details). [endsect] + +