Boost logo

Boost :

Subject: Re: [boost] Scoped enum emulation
From: Beman Dawes (bdawes_at_[hidden])
Date: 2012-05-10 07:13:25

On Thu, May 10, 2012 at 3:04 AM, Anthony Williams <anthony.ajw_at_[hidden]> wrote:
> 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?

Fine with me, as long as it doesn't break any current usage.

It was a mistake from the start to have two ways of doing the same thing, IMO.


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