diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-05-10 13:14:08 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-05-10 13:14:08 +0000 |
commit | dbaf7a0d31ac7d5e3121686f1e771d558d62a34b (patch) | |
tree | 6fe2dd5a9e15cc5a3f6b33e1209ddb8d8d7f9594 /include/memory | |
parent | d20675f97079410e6a2685630f490b75ffe855f5 (diff) |
Fix for LWG2454: Add raw_storage_iterator::base() member
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@236948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/memory')
-rw-r--r-- | include/memory | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/memory b/include/memory index 93e8f6737..3f7ea1a2b 100644 --- a/include/memory +++ b/include/memory @@ -1855,6 +1855,9 @@ public: _LIBCPP_INLINE_VISIBILITY raw_storage_iterator& operator++() {++__x_; return *this;} _LIBCPP_INLINE_VISIBILITY raw_storage_iterator operator++(int) {raw_storage_iterator __t(*this); ++__x_; return __t;} +#if _LIBCPP_STD_VER >= 14 + _LIBCPP_INLINE_VISIBILITY _OutputIterator base() const { return __x_; } +#endif }; template <class _Tp> |