Boost logo

Boost :

Subject: [boost] Scoped enum emulation
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2012-05-10 03:04:17


Hi,

On trunk there are currently two scoped enum emulation headers. One is
the one that Beman wrote, in boost/detail/scoped_enum_emulation.hpp and
the other is the one that Vicente has developed for the new version of
Boost.Thread, in boost/thread/detail/scoped_enum.hpp

It seems to me that it is a shame to have two implementations of the
same thing in boost. Since Vicente's version provides additional
facilities, I would therefore like to merge Vicente's code into the
boost/detail header. We could retain the simple macros from Beman's
header as wrappers for the more complex macros that Vicente has written.

What do you think?

Anthony

-- 
Author of C++ Concurrency in Action     http://www.stdthread.co.uk/book/
just::thread C++11 thread library             http://www.stdthread.co.uk
Just Software Solutions Ltd       http://www.justsoftwaresolutions.co.uk
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk