|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52854 - sandbox/ftmpl
From: whatwasthataddress_at_[hidden]
Date: 2009-05-08 11:08:00
Author: tzlaine
Date: 2009-05-08 11:08:00 EDT (Fri, 08 May 2009)
New Revision: 52854
URL: http://svn.boost.org/trac/boost/changeset/52854
Log:
Renamed size_t to size_t_, and changed BOOST_FTMPL_VALUE_DEF to produce
value_name() functions that wrap values in type_t<>, instead of returning
naked value_t<>'s.
Text files modified:
sandbox/ftmpl/size_t.hpp | 2 +-
sandbox/ftmpl/value.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/ftmpl/size_t.hpp
==============================================================================
--- sandbox/ftmpl/size_t.hpp (original)
+++ sandbox/ftmpl/size_t.hpp 2009-05-08 11:08:00 EDT (Fri, 08 May 2009)
@@ -6,7 +6,7 @@
namespace boost { namespace ftmpl {
-BOOST_FTMPL_VALUE_DEF( size_t, ::std::size_t )
+BOOST_FTMPL_VALUE_DEF( size_t_, ::std::size_t )
} }
Modified: sandbox/ftmpl/value.hpp
==============================================================================
--- sandbox/ftmpl/value.hpp (original)
+++ sandbox/ftmpl/value.hpp 2009-05-08 11:08:00 EDT (Fri, 08 May 2009)
@@ -26,7 +26,7 @@
#define BOOST_FTMPL_VALUE_DEF( name, type ) \
BOOST_FTMPL_VALUE_ALIAS( name, type ) \
template< type Value > \
-value_t< type, Value >& name();
+type_t< value_t< type, Value > >& name();
BOOST_FTMPL_VALUE_DEF( bool_, bool )
BOOST_FTMPL_VALUE_DEF( char_, char )
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