Commit 5b244a78 by Jonathan Wakely Committed by Jonathan Wakely

fs_path.h (filesystem_error::~filesystem_error): Declare.

	* include/experimental/fs_path.h (filesystem_error::~filesystem_error):
	Declare.
	* src/filesystem/path.cc (filesystem_error::~filesystem_error):
	Define.

From-SVN: r222720
parent cb2ef49e
2015-05-02 Jonathan Wakely <jwakely@redhat.com> 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/fs_path.h (filesystem_error::~filesystem_error):
Declare.
* src/filesystem/path.cc (filesystem_error::~filesystem_error):
Define.
PR libstdc++/65978 PR libstdc++/65978
* include/std/tuple (forward_as_tuple, tie): Add constexpr. * include/std/tuple (forward_as_tuple, tie): Add constexpr.
* testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
......
...@@ -531,6 +531,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 ...@@ -531,6 +531,8 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
: system_error(__ec, __what_arg), _M_path1(__p1), _M_path2(__p2) : system_error(__ec, __what_arg), _M_path1(__p1), _M_path2(__p2)
{ } { }
~filesystem_error();
const path& path1() const noexcept { return _M_path1; } const path& path1() const noexcept { return _M_path1; }
const path& path2() const noexcept { return _M_path2; } const path& path2() const noexcept { return _M_path2; }
const char* what() const noexcept { return _M_what.c_str(); } const char* what() const noexcept { return _M_what.c_str(); }
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
using std::experimental::filesystem::path; using std::experimental::filesystem::path;
std::experimental::filesystem::filesystem_error::~filesystem_error() = default;
constexpr path::value_type path::preferred_separator; constexpr path::value_type path::preferred_separator;
path& path&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment