Boost logo

Boost :

Subject: Re: [boost] Notice: Boost.Atomic (atomic operations library)
From: Helge Bahmann (hcb_at_[hidden])
Date: 2009-11-30 13:34:24


Am Monday 30 November 2009 18:54:20 schrieb Andrey Semashev:
> Helge Bahmann wrote:
> > Hello,
> >
> > as promised I have started extracting an atomic operations library.
> > Current state is available at:
>
> Thanks a lot for this proposal. It was one of the most awaited additions
> (at least, awaited by me :)).
>
> I haven't looked at the implementation yet, but the doc doesn't state
> that enums are valid template parameters. Is it really so?

Currently yes, but after checking C++0x draft I will relax that requirement
shortly (anything that is a POD will be a valid template argument
for "atomic<TYPE>") -- I am still trying to figure out the easiest way
of "killing" the fetch_add&similar members.

Regards,
Helge


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