Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-12-23 08:35:51


> Thanks you for the pointer.
> I assume the pragmas should surround the usage of the base class then
> rather than the definiton? Correct?
>
> I.e.:
>
> #ifdef BOOST_MSVC
> # pragma warning(push)
> # pragma warning(disable : 4251 4231 4660)
> #endif
>
> class BOOST_THREAD_DECL thread : private noncopyable
> {
>
> // code here
> }
>
> #ifdef BOOST_MSVC
> #pragma warning(pop)
> #endif

Correct.

John.


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