Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-02-04 10:29:58


Hauptmann Peter wrote:
> Hi,
> I noticed that boost/detail/atomic_count.hpp uses the intrinsic
> verisons of _InterlockedIncrement, _InterlockedDecrement only for
> Win64 builds.
>
> is there a reason? it is documented for VC 2003 without target
> platform restrictions (and it's "known to work" on VC6, too).

I think that the reason is that there's no portable way of declaring the
intrinsics except by including <windows.h>, something that many people would
strongly object to because of the evil macros.


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