Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73554 - sandbox/coerce/boost/coerce
From: vexocide_at_[hidden]
Date: 2011-08-05 14:56:20


Author: vexocide
Date: 2011-08-05 14:56:19 EDT (Fri, 05 Aug 2011)
New Revision: 73554
URL: http://svn.boost.org/trac/boost/changeset/73554

Log:
Explicitly name the type
Text files modified:
   sandbox/coerce/boost/coerce/reserve.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: sandbox/coerce/boost/coerce/reserve.hpp
==============================================================================
--- sandbox/coerce/boost/coerce/reserve.hpp (original)
+++ sandbox/coerce/boost/coerce/reserve.hpp 2011-08-05 14:56:19 EDT (Fri, 05 Aug 2011)
@@ -142,7 +142,9 @@
 
     template <typename T, typename Tag, typename Enable = void>
     struct reserve_size {
- static inline std::size_t
+ typedef std::size_t type;
+
+ static inline type
         call(T const &, Tag const &) {
             return reserve_size_impl<T, Tag>::value;
         }


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