using path = basic_path< char >Specialisation of basic_path for char.
template <class Ch, class Tr = std::char_traits<Ch>, class Alloc = std::allocator<Ch>> class sys::basic_path
File system path template which is a std::string with additional methods.
attributes(file_attribute_options f = file_attribute_options{}) const -> file_attributesremove_attribute(c_string name, file_attribute_options f = file_attribute_options{}) -> voidattribute(c_string name, const_string value, file_attribute_flags f1 = file_attribute_flags{}, file_attribute_options f = file_attribute_options{}) -> voidattribute(c_string name, file_attribute_options f = file_attribute_options{}) const -> stringswap(basic_path & rhs) -> void
Swap with rhs.
operator const value_type *() const
Automatically cast to const char* which is oftet used in system calls.
template <class T, class ... Args> add(T && filename, Args &&... components) -> voidAppend method arguments as path components.
template <class T> add(T && filename) -> void
Append file filename as path component.
template <class A, class B, class ... Args> basic_path(A && dir, B && filename, Args &&... more_filenames)Construct path from multiple path components.
template <class A, class B> basic_path(A && dir, B && filename)
Construct path from directory dir and file filename.
basic_path(basic_path && rhs)Move-constructor.
basic_path(const basic_path & rhs)Copy-constructor.
basic_path(string_type && rhs)explicitMove-constructor for string.
basic_path(const string_type & rhs)explicitCopy-constructor for string.
basic_path(const char * rhs)explicit
Construct path from bar const char*.
operator=(const char * rhs) -> basic_path &Assignment.
operator=(string_type && rhs) -> basic_path &Move-assignment for string.
operator=(const string_type & rhs) -> basic_path &Copy-assignment for string.
operator=(basic_path &&) -> basic_path &Move-assignment.
operator=(const basic_path &) -> basic_path &Copy-assignment.
basic_path()Specialisation of std::hash for sys::basic_path.
public std::hash< std::basic_string< Ch, Tr, Alloc > >using argument_type = sys::basic_path< Ch, Tr, Alloc >Hash function argument type.
using result_type = size_tHash function return value type.
operator()(const argument_type & rhs) const -> result_typeReturn string hash of path.
template <class Ch, class Tr, class Alloc> swap(basic_path< Ch, Tr, Alloc > & lhs, basic_path< Ch, Tr, Alloc > & rhs) -> voidOverload of std::swap for basic_path.