
30 Nov
2009
30 Nov
'09
6:34 p.m.
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