Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86458 - branches/release/libs/type_traits/doc
From: vicente.botet_at_[hidden]
Date: 2013-10-26 11:49:29


Author: viboes
Date: 2013-10-26 11:49:29 EDT (Sat, 26 Oct 2013)
New Revision: 86458
URL: http://svn.boost.org/trac/boost/changeset/86458

Log:
TypeTraits/common_type fix typo. fix #8785.

Text files modified:
   branches/release/libs/type_traits/doc/examples.qbk | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/release/libs/type_traits/doc/examples.qbk
==============================================================================
--- branches/release/libs/type_traits/doc/examples.qbk Sat Oct 26 11:30:31 2013 (r86457)
+++ branches/release/libs/type_traits/doc/examples.qbk 2013-10-26 11:49:29 EDT (Sat, 26 Oct 2013) (r86458)
@@ -221,7 +221,7 @@
 An improved `std::min` function could be written like this:
 
    template <class T, class U>
- typename __common_type<T, U>::type min(T t, T u)
+ typename __common_type<T, U>::type min(T t, U u)
    {
       return t < u ? t : u;
    }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk