2019-05-02 Jonathan Wakely <jwakely@redhat.com>
+ * include/experimental/bits/fs_dir.h: Fix Doxygen markup.
+ * include/experimental/bits/fs_fwd.h: Improve docs.
+ * include/experimental/bits/fs_ops.h: fix Doxygen markup.
+ * include/experimental/bits/fs_path.h: Likewise.
+ (path, filesystem_error, u8path): Improve docs.
+ * include/experimental/filesystem: Link to docs for TS.
+
* config/allocator/new_allocator_base.h (__allocator_base): Add
workaround for Doxygen bug #6945.
* include/std/memory: Improve docs. Define group for pointer safety.
#endif
/**
- * @ingroup filesystem-ts
+ * @addtogroup filesystem-ts
* @{
*/
iterator begin() const;
iterator end() const;
+ /// @cond undocumented
// Create a basic_string by reading until a null character.
template<typename _InputIterator,
typename _Traits = std::iterator_traits<_InputIterator>,
__str.push_back(__ch);
return __str;
}
+ /// @endcond
private:
enum class _Type : unsigned char {
_Type _M_type = _Type::_Multi;
};
+ /// @relates std::experimental::filesystem::path @{
+
inline void swap(path& __lhs, path& __rhs) noexcept { __lhs.swap(__rhs); }
size_t hash_value(const path& __p) noexcept;
return __is;
}
+ /// Create a path from a UTF-8-encoded sequence of char
// TODO constrain with _Path<Source> and __value_type_is_char
template<typename _Source>
inline path
#endif
}
+ /// Create a path from a UTF-8-encoded sequence of char
// TODO constrain with _Path<InputIterator, InputIterator> and __value_type_is_char
template<typename _InputIterator>
inline path
#endif
}
+ /// @}
+
+ /// Exception type thrown by the Filesystem TS library
class filesystem_error : public std::system_error
{
public:
std::string _M_what = _M_gen_what();
};
+ /// @cond undocumented
struct path::_Cmpt : path
{
_Cmpt(string_type __s, _Type __t, size_t __pos)
__gnu_cxx::__normal_iterator<_Iter, _Cont> __last)
{ return _S_convert(__first.base(), __last.base()); }
};
+ /// @endcond
/// An iterator for the components of a path
class path::iterator