
"Michael Fink" <michael.fink@asamnet.de> wrote in message news:26659.217.6.216.4.1146833083.squirrel@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