Boost logo

Boost Users :

Subject: Re: [Boost-users] error C2440: 'reinterpret_cast': InterlockedCompareExchange from detail\interlocked.hpp
From: Adam Merz (adammerz_at_[hidden])
Date: 2008-11-06 12:34:58


InterlockedCompareExchange only works with LONG, and casting is not a good way
around the problem. Perhaps you want InterlockedCompareExchangePointer, which
works with PVOID?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net