Boost logo

Boost :

From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2004-09-29 10:49:12


I notice that the Windows implementation of exists() contains the line:

      if(::GetFileAttributesA( ph.string().c_str() ) == 0xFFFFFFFF)

This contrasts with

      DWORD attributes = ::GetFileAttributesA(
          ph.native_directory_string().c_str() );

in is_directory(). I wonder if there are any implications in using
string() as opposed to native_file_string() here? It does appear that
in most places you prefer to use the "native_" flavour when invoking
system functions.


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