Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-05-10 16:39:41


"Michael Fink" <michael.fink_at_[hidden]> wrote in message
news:26659.217.6.216.4.1146833083.squirrel_at_www.asamnet.de...
> Hi,
>
> while porting Boost to evc4 I noticed that Boost.Filesystem makes heavy
> use of the Ansi Win32-API functions such as CreateFileA etc. There is a
> mode that can be enabled with the define BOOST_FILESYSTEM_NARROW_ONLY so
> that only Ansi APIs are used. Is it thinkable to introduce a
> BOOST_FILESYSTEM_WIDE_ONLY mode, e.g. when BOOST_NO_ANSI_APIS is defined?
> Should I try to implement such a mode, or is it too complicated?

What would the motivation be?

BOOST_FILESYSTEM_NARROW_ONLY is a workaround for libraries and/or compilers
that don't support wide characters or enable if. I really don't like it -
the code would be clearer without it. I hate to add yet another workaround
unless there is strong motivation.

--Beman


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