Boost logo

Boost :

Subject: Re: [boost] [outcome] some problems compiling
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-24 13:22:39

Niall Douglas wrote:

> It's a trick to include windows without including windows which only works
> on MSVC by taking advantage of its lax parser. That's why on clang we just
> go ahead and include windows.

I remember recently having to fix similar code in smart_ptr for clang:

You could also look at winapi for inspiration, for example here

I _think_ that winapi works on clang.

Boost list run by bdawes at, gregod at, cpdaniel at, john at