AMDG On 09/18/2012 03:26 AM, Christian Convey wrote:
Are you sure? It looks to me like the 1.51 documentation says the same thing as my 1.50 documentation:
http://www.boost.org/doc/libs/1_51_0/libs/filesystem/doc/reference.html#Enum...
That makes it look like symlinks and regular files are mutually exclusive, since they have different values in the file_type enumeration, and is_regular_file just tests for which enumeration value is associated with the given file's type:
http://www.boost.org/doc/libs/1_51_0/libs/filesystem/doc/reference.html#is_r...
is_regular_file is defined in terms of status: http://www.boost.org/doc/libs/1_51_0/libs/filesystem/doc/reference.html#stat... "If possible, determines the attributes of the file p resolves to, as if by ISO/IEC 9945 stat()." In Christ, Steven Watanabe