Subject: Re: [boost] Notice: Boost.Atomic (atomic operations library)
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-12-03 12:15:52
Helge Bahmann wrote:
> On Wed, 2 Dec 2009, Vicente Botet Escriba wrote:
> I'm not sure if the free-standing functions are of too much value
> (personally I dislike them for C++), I will certainly add them if
> someone wants them, but probably it would be preferrable for them not to
> live in the root namespace "boost".
I think, free standing functions can be useful if one needs to operate
on a POD type (which atomic<T> isn't). For example, one could safely use
functions with local statics.