mirror of
https://github.com/boostorg/filesystem.git
synced 2026-01-19 04:12:09 +00:00
b219d9fb8af760b54b014d1223ebd5d43b4d07b5
Path traits and relevant path members were reworked to better support wider range of types that are compatible with path constructors, assignment and appending members. Added support for C++17 std::string_view, boost::string_view and boost::container::string as the possible string types accepted by path members. Also extended support for types convertible to one of the string types. Previously, user's type had to be convertible to a string with a character type that matches the native path character type. Now all supported character types are acceptable. Additionally, restricted members accepting a pair of iterators to only accept iterators whose value types are one of the supported path character types. Lastly, path::compare and comparison operators now only accept path arguments, relying on path conversion constructors to do the job of supporting various source types. Also removed noexcept from compare as it is using lex_compare and iterators internally and those can throw. Closes https://github.com/boostorg/filesystem/issues/208.
Boost.Filesystem
Boost.Filesystem, part of collection of the Boost C++ Libraries, provides facilities to manipulate files and directories, and the paths that identify them.
Directories
- doc - Documentation sources
- include - Interface headers of Boost.Filesystem
- src - Compilable source files of Boost.Filesystem
- test - Boost.Filesystem unit tests
- example - Boost.Filesystem usage examples
More information
- Documentation
- Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
Build status
| Branch | GitHub Actions | AppVeyor | Test Matrix | Dependencies |
|---|---|---|---|---|
master |
||||
develop |
License
Distributed under the Boost Software License, Version 1.0.
Description
Languages
C++
98.4%
CMake
1.5%