
on Sun Jan 22 2012, Beman Dawes <bdawes-AT-acm.org> wrote:
On Sun, Jan 22, 2012 at 8:29 AM, Mathias Gaunard <mathias.gaunard@ens-lyon.org> wrote:
On 01/22/2012 12:00 PM, Vicente J. Botet Escriba wrote:
I recognize that it could be difficult for libraries as Boost.Thread or Boost.FileSystem, but I don't think Boost.System will be on this case as its dependency are really minor, isn't it? Could you explain more deeply the problem you want to avoid?
error_code.cpp includes windows.h and puts lots of symbol in the global namespace.
Right. Including windows.h is a non-starter in a header.
I would rephrase that as, "_forcing_ the inclusion of windows.h in a header is a non-starter." It's not unreasonable to say that if you choose the header-only version of Boost.Filesystem, you have to accept that cost. -- Dave Abrahams BoostPro Computing http://www.boostpro.com