Boost logo

Boost-Commit :

From: peder.holt_at_[hidden]
Date: 2007-08-20 02:51:55


Author: burbelgruff
Date: 2007-08-20 02:51:54 EDT (Mon, 20 Aug 2007)
New Revision: 38777
URL: http://svn.boost.org/trac/boost/changeset/38777

Log:
#1188 Removed extra (unnecessary) semicolons in BOOST_TYPEOF_NESTED_TYPEDEF.
Text files modified:
   trunk/boost/typeof/typeof_impl.hpp | 18 +++++++++---------
   1 files changed, 9 insertions(+), 9 deletions(-)

Modified: trunk/boost/typeof/typeof_impl.hpp
==============================================================================
--- trunk/boost/typeof/typeof_impl.hpp (original)
+++ trunk/boost/typeof/typeof_impl.hpp 2007-08-20 02:51:54 EDT (Mon, 20 Aug 2007)
@@ -18,8 +18,8 @@
 #define BOOST_TYPEOF_sizer_item(z, n, _)\
     char item ## n[V::item ## n ::value];
 
-namespace boost { namespace type_of {
- template<class V>
+namespace boost { namespace type_of {
+ template<class V>
     struct sizer
     {
         // char item0[V::item0::value];
@@ -33,17 +33,17 @@
 #undef BOOST_TYPEOF_sizer_item
 
 //
-namespace boost { namespace type_of {
+namespace boost { namespace type_of {
 # ifdef BOOST_NO_SFINAE
- template<class V, class T>
+ template<class V, class T>
     sizer<typename encode_type<V, T>::type> encode(const T&);
 # else
- template<class V, class T>
+ template<class V, class T>
     typename enable_if<
         typename is_function<T>::type,
         sizer<typename encode_type<V, T>::type> >::type encode(T&);
 
- template<class V, class T>
+ template<class V, class T>
     typename disable_if<
         typename is_function<T>::type,
         sizer<typename encode_type<V, T>::type> >::type encode(const T&);
@@ -72,7 +72,7 @@
 
 #define BOOST_TYPEOF_TPL typename BOOST_TYPEOF
 
-//offset_vector is used to delay the insertion of data into the vector in order to allow
+//offset_vector is used to delay the insertion of data into the vector in order to allow
 //encoding to be done in many steps
 namespace boost { namespace type_of {
     template<typename V,typename Offset>
@@ -118,7 +118,7 @@
             BOOST_STATIC_CONSTANT(int,pos=(Pos::value));\
             BOOST_STATIC_CONSTANT(int,iteration=(pos/BOOST_TYPEOF_LIMIT_SIZE));\
             BOOST_STATIC_CONSTANT(int,where=pos%BOOST_TYPEOF_LIMIT_SIZE);\
- BOOST_TYPEOF_FRACTIONTYPE();\
+ BOOST_TYPEOF_FRACTIONTYPE()\
             typedef typename boost::type_of::v_iter<fraction_type,boost::mpl::int_<where> >::type type;\
             typedef _typeof_fraction_iter<typename Pos::next> next;\
         };
@@ -133,7 +133,7 @@
 };\
 typedef BOOST_PP_CAT(_typeof_template_,name)<int> name;
 
-# define BOOST_TYPEOF_NESTED_TYPEDEF_TPL(name,expr) BOOST_TYPEOF_NESTED_TYPEDEF(name,expr);
+# define BOOST_TYPEOF_NESTED_TYPEDEF_TPL(name,expr) BOOST_TYPEOF_NESTED_TYPEDEF(name,expr)
 
 #else
 # define BOOST_TYPEOF_NESTED_TYPEDEF_TPL(name,expr) \


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