Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73963 - sandbox/enums/libs/enums/test
From: vicente.botet_at_[hidden]
Date: 2011-08-20 17:46:24


Author: viboes
Date: 2011-08-20 17:46:23 EDT (Sat, 20 Aug 2011)
New Revision: 73963
URL: http://svn.boost.org/trac/boost/changeset/73963

Log:
ENUMS: move to generic macro
Text files modified:
   sandbox/enums/libs/enums/test/EnumType.hpp | 10 +++++++++-
   1 files changed, 9 insertions(+), 1 deletions(-)

Modified: sandbox/enums/libs/enums/test/EnumType.hpp
==============================================================================
--- sandbox/enums/libs/enums/test/EnumType.hpp (original)
+++ sandbox/enums/libs/enums/test/EnumType.hpp 2011-08-20 17:46:23 EDT (Sat, 20 Aug 2011)
@@ -33,6 +33,14 @@
 
 
 #define CTOR
+
+#if 1
+BOOST_ENUMS_ENUM_TYPE_DCL_CONS((EnumClass), unsigned char,
+ ( (Default)(3) )
+ ( (Enum1) )
+ ( (Enum2) )
+ , linear_enum_traiter)
+#else
 #if 1
 
 BOOST_ENUM_TYPE_START(EnumClass, unsigned char) {
@@ -135,7 +143,7 @@
   }
 }
 
-
+#endif
 
 //! OSTRREAM overloading
 template <typename OSTREAM>


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