Boost logo

Boost :

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


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?


Author of C++ Concurrency in Action
just::thread C++11 thread library   
Just Software Solutions Ltd
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Boost list run by bdawes at, gregod at, cpdaniel at, john at