From 33487a8aeb5fa21365880dc41bbf7e2fc838e012 Mon Sep 17 00:00:00 2001
From: Beman Dawes
Example programs
Implementation
+ Macros
+ Deprecated names and features
Using only narrow character paths
Building the object-library
Notes for Cygwin users
@@ -309,6 +311,211 @@ either the POSIX or Windows API.
The library is in regular use on Apple OS X, HP-UX, IBM AIX, Linux, Microsoft Windows, SGI IRIX, and Sun Solaris operating systems using a variety of compilers.
+Users may defined the following macros if desired. Sensible defaults are +provided, so users can ignore these macros unless they have special needs.
+| Macro Name | +Default | +Effect if defined | +
BOOST_WINDOWS_API |
+ Defined if Windows is detected by Boost.System's automatic configuration + code, otherwise not defined. | +Implementation uses the Microsoft Windows native + application program interface (API). | +
BOOST_POSIX_API |
+ Defined if Windows is not detected by Boost.System's automatic configuration + code. | +Implementation uses the POSIX native + application program interface (API). | +
BOOST_FILESYSTEM_DYN_LINK |
+ Defined if BOOST_ALL_DYN_LINK is defined,
+ otherwise not defined. |
+ Boost.System library is dynamically linked. If not defined, + static linking is assumed. | +
BOOST_FILESYSTEM_NO_LIB |
+ Defined if BOOST_ALL_NO_LIB is defined,
+ otherwise not defined. |
+ Boost.System library does not use the Boost auto-link + facility. | +
BOOST_FILESYSTEM_NARROW_ONLY |
+ Not defined. | +Removes features that require wchar_t support. | +
BOOST_FILESYSTEM_NO_DEPRECATED |
+ Not defined. | +Deprecated features are excluded. | +
As the library evolves over time, names sometimes
+change or features are removed. To ease transition, Boost.Filesystem deprecates
+the old names and features, but continues to provide them unless macro
+BOOST_FILESYSTEM_NO_DEPRECATED is defined.
| + Component | +
+ Old name, now deprecated |
+
+ New name |
+
basic_path |
+ leaf() |
+ filename() |
+
basic_path |
+ branch_path() |
+ parent_path() |
+
basic_path |
+ has_leaf() |
+ has_filename() |
+
basic_path |
+ has_branch_path() |
+ has_parent_path() |
+
+ basic_path |
+
+
|
+
+
|
+
+ basic_path |
+
+ basic_path( const string_type & str, |
+
+ feature removed |
+
+ basic_path |
+
+ basic_path( const string_type::value_type * s, |
+
+ feature removed |
+
+ basic_path |
+
+ native_file_string() |
+
+ file_string() |
+
+ basic_path |
+
+ native_directory_string() |
+
+ directory_string() |
+
+ basic_path |
+
+ default_name_check_writable() |
+
+ feature removed |
+
+ basic_path |
+
+ default_name_check( name_check ) |
+
+ feature removed |
+
+ basic_path |
+
+ default_name_check() |
+
+ feature removed |
+
+ basic_path |
+
+ canonize() |
+
+ feature removed |
+
+ basic_path |
+
+ normalize() |
+
+ feature removed |
+
+ operations.hpp |
+
+ is_regular( file_status f ) |
+
+ is_regular_file( file_status f ) |
+
+ operations.hpp |
+
+ symbolic_link_exists( const path & ph ) |
+
+ feature removed |
+
+ basic_directory_status |
+
+ filename() |
+
+ feature removed, use path().filename() instead |
+
+ basic_directory_status |
+
+ leaf() |
+
+ feature removed, use path().filename() instead |
+
+ basic_directory_status |
+
+ string() |
+
+ feature removed, use path().string() instead |
+
Compilers or standard libraries which do not support wide characters (wchar_t) or wide character strings (std::wstring) are detected automatically, and cause @@ -553,7 +760,7 @@ performance issues.
Revised -18 March, 2008
+13 October, 2008© Copyright Beman Dawes, 2002-2005
Use, modification, and distribution are subject to the Boost Software @@ -562,4 +769,4 @@ www.boost.org/LICENSE_1_0.txt