Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78462 - in sandbox/coerce: boost/coerce libs/coerce/example
From: vexocide_at_[hidden]
Date: 2012-05-13 20:01:51


Author: vexocide
Date: 2012-05-13 20:01:51 EDT (Sun, 13 May 2012)
New Revision: 78462
URL: http://svn.boost.org/trac/boost/changeset/78462

Log:
Added a default value for Tag
Text files modified:
   sandbox/coerce/boost/coerce/coerce.hpp | 2 +-
   sandbox/coerce/libs/coerce/example/backend.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/coerce/boost/coerce/coerce.hpp
==============================================================================
--- sandbox/coerce/boost/coerce/coerce.hpp (original)
+++ sandbox/coerce/boost/coerce/coerce.hpp 2012-05-13 20:01:51 EDT (Sun, 13 May 2012)
@@ -28,7 +28,7 @@
         template <
             typename Target
           , typename Source
- , typename Tag
+ , typename Tag = tag::none
           , typename Enable = void
>
         struct as

Modified: sandbox/coerce/libs/coerce/example/backend.cpp
==============================================================================
--- sandbox/coerce/libs/coerce/example/backend.cpp (original)
+++ sandbox/coerce/libs/coerce/example/backend.cpp 2012-05-13 20:01:51 EDT (Sun, 13 May 2012)
@@ -37,7 +37,7 @@
 namespace boost { namespace coerce { namespace traits {
 
     template <std::size_t N>
- struct as<long int, char [N], tag::none>
+ struct as<long int, char [N]>
         : strtol { };
 
 } } } // namespace boost::coerce::traits


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