From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-20 06:51:09
From: "Martin Schürch" <mschuerch_at_[hidden]>
> Wouldn't it be possible to include <windows.h> only in the cpp file (
> be winapi.cpp ). And to declare critical_sction and the used functions in
> winapi.h only.
Yes, it would be possible to do that, but currently shared_ptr.hpp doesn't
have any separately compiled parts, it's header-only.
> To have windows.h included in winapi.hpp would be a mess (at least it
> work) because winapi.hpp gets included also when shared_ptr.hpp is
> included. Is this neccessary?
In managed mode, it appears to be necessary to use the real windows.h
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk