Boost logo

Boost-Commit :

From: mconsoni_at_[hidden]
Date: 2007-07-05 20:11:29


Author: mconsoni
Date: 2007-07-05 20:11:28 EDT (Thu, 05 Jul 2007)
New Revision: 7370
URL: http://svn.boost.org/trac/boost/changeset/7370

Log:
- shrinked to 80 columns.

Text files modified:
   sandbox/boost/extension/factory.hpp | 9 +++++----
   1 files changed, 5 insertions(+), 4 deletions(-)

Modified: sandbox/boost/extension/factory.hpp
==============================================================================
--- sandbox/boost/extension/factory.hpp (original)
+++ sandbox/boost/extension/factory.hpp 2007-07-05 20:11:28 EDT (Thu, 05 Jul 2007)
@@ -41,7 +41,8 @@
 
 
 #define BOOST_EXTENSION_FACTORY_CLASS(Z, N, _) \
-template<class Interface, class Info BOOST_PP_COMMA_IF(N) BOOST_PP_ENUM_PARAMS(N, \
+template<class Interface, class Info BOOST_PP_COMMA_IF(N) \
+ BOOST_PP_ENUM_PARAMS(N, \
          class Param) > \
 class factory<Interface, Info BOOST_PP_COMMA_IF(N) \
               BOOST_PP_ENUM_PARAMS(N, Param) > { \
@@ -50,7 +51,7 @@
     { \
       public: \
         virtual ~generic_factory_function(){} \
- virtual Interface * operator()(BOOST_PP_ENUM_PARAMS(N, Param)) = 0; \
+ virtual Interface * operator()(BOOST_PP_ENUM_PARAMS(N, Param)) = 0;\
             virtual generic_factory_function * copy() const = 0; \
     }; \
     template <class T> \
@@ -58,7 +59,7 @@
     { \
       public: \
         virtual ~factory_function(){} \
- virtual Interface * operator()(BOOST_PP_ENUM_BINARY_PARAMS(N, Param, p)) \
+ virtual Interface * operator()(BOOST_PP_ENUM_BINARY_PARAMS(N, Param, p))\
         { \
           return new T(BOOST_PP_ENUM_PARAMS(N, p)); \
         } \
@@ -80,7 +81,7 @@
     } \
     factory(Info info) :factory_func_ptr_(0), info_(info) {} \
     factory(const factory & first) \
- :factory_func_ptr_(first.factory_func_ptr_->copy()), info_(first.info_) {} \
+ :factory_func_ptr_(first.factory_func_ptr_->copy()), info_(first.info_){} \
     Interface * operator()(BOOST_PP_ENUM_BINARY_PARAMS(N, Param, p)) \
     { \
       return create(BOOST_PP_ENUM_PARAMS(N, p)); \


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