mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Merge pull request #109 from albert-github/feature/bug_filesystem_spell
Correcting spelling errors
This commit is contained in:
commit
d768b60d49
@ -255,7 +255,7 @@
|
|||||||
#define LWG_2682_BEHAVIOUR
|
#define LWG_2682_BEHAVIOUR
|
||||||
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
// LWG #2395 makes crate_directory/create_directories not emit an error if there is a regular
|
// LWG #2395 makes crate_directory/create_directories not emit an error if there is a regular
|
||||||
// file with that name, it is superceded by P1164R1, so only activate if really needed
|
// file with that name, it is superseded by P1164R1, so only activate if really needed
|
||||||
// #define LWG_2935_BEHAVIOUR
|
// #define LWG_2935_BEHAVIOUR
|
||||||
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
// LWG #2936 enables new element wise (more expensive) path comparison
|
// LWG #2936 enables new element wise (more expensive) path comparison
|
||||||
@ -275,7 +275,7 @@
|
|||||||
// as UTF-8 encoded. With this define you can enfoce the old behavior on Windows, using
|
// as UTF-8 encoded. With this define you can enfoce the old behavior on Windows, using
|
||||||
// std::string as backend and for fs::path::native() and char for fs::path::c_str(). This
|
// std::string as backend and for fs::path::native() and char for fs::path::c_str(). This
|
||||||
// needs more conversions so it is (an was before v1.5) slower, bot might help keeping source
|
// needs more conversions so it is (an was before v1.5) slower, bot might help keeping source
|
||||||
// homogenous in a multi platform project.
|
// homogeneous in a multi platform project.
|
||||||
// #define GHC_WIN_DISABLE_WSTRING_STORAGE_TYPE
|
// #define GHC_WIN_DISABLE_WSTRING_STORAGE_TYPE
|
||||||
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
// Raise errors/exceptions when invalid unicode codepoints or UTF-8 sequences are found,
|
// Raise errors/exceptions when invalid unicode codepoints or UTF-8 sequences are found,
|
||||||
@ -296,7 +296,7 @@
|
|||||||
#define GHC_WITH_EXCEPTIONS
|
#define GHC_WITH_EXCEPTIONS
|
||||||
#endif
|
#endif
|
||||||
#if !defined(GHC_WITH_EXCEPTIONS) && defined(GHC_RAISE_UNICODE_ERRORS)
|
#if !defined(GHC_WITH_EXCEPTIONS) && defined(GHC_RAISE_UNICODE_ERRORS)
|
||||||
#error "Can't raise unicode errors whith exception support disabled"
|
#error "Can't raise unicode errors with exception support disabled"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace ghc {
|
namespace ghc {
|
||||||
@ -368,7 +368,7 @@ public:
|
|||||||
using path_helper_base<value_type>::preferred_separator;
|
using path_helper_base<value_type>::preferred_separator;
|
||||||
|
|
||||||
// 30.10.10.1 enumeration format
|
// 30.10.10.1 enumeration format
|
||||||
/// The path format in wich the constructor argument is given.
|
/// The path format in which the constructor argument is given.
|
||||||
enum format {
|
enum format {
|
||||||
generic_format, ///< The generic format, internally used by
|
generic_format, ///< The generic format, internally used by
|
||||||
///< ghc::filesystem::path with slashes
|
///< ghc::filesystem::path with slashes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user