commit | 4ca4e5038beeb4a60c25147f06533d7f69de4c4c | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Sat Oct 15 21:29:44 2016 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Sat Oct 15 21:29:44 2016 +0000 |
tree | 5fc353b4cd60fbd4ec09aa6c072f594030cf73e7 | |
parent | 9f39437989a9aeab41b2fca9b687426709e77b8a [diff] [blame] |
Implement LWG2664 and update its status git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@284310 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/experimental/filesystem b/include/experimental/filesystem index 10590a8..45de0d1 100644 --- a/include/experimental/filesystem +++ b/include/experimental/filesystem
@@ -759,6 +759,8 @@ public: // appends path& operator/=(const path& __p) { + _LIBCPP_ASSERT(!__p.has_root_name(), + "cannot append to a path with a root name"); __append_sep_if_needed(__p.empty() ? char{} : __p.__pn_[0]); __pn_ += __p.native(); return *this;