
23 Dec
2004
23 Dec
'04
1:35 p.m.
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.