Skip to content

Commit

Permalink
[memory] Remove deprecated raw_storage_iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Jan 22, 2020
1 parent 8063155 commit 75f5313
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stl/inc/memory
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ _NoThrowFwdIt uninitialized_value_construct_n(_NoThrowFwdIt _First, const _Diff

#endif // _HAS_CXX17


#if _HAS_DEPRECATED_RAW_STORAGE_ITERATOR
// CLASS TEMPLATE raw_storage_iterator
template <class _OutIt, class _Ty>
class _CXX17_DEPRECATE_RAW_STORAGE_ITERATOR raw_storage_iterator { // wrap stores to raw buffer as output iterator
Expand Down Expand Up @@ -462,6 +462,7 @@ public:
private:
_OutIt _Next;
};
#endif // _HAS_DEPRECATED_RAW_STORAGE_ITERATOR


#if _HAS_AUTO_PTR_ETC
Expand Down
4 changes: 4 additions & 0 deletions stl/inc/yvals_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,10 @@
#define _HAS_DEPRECATED_TEMPORARY_BUFFER (!_HAS_CXX20 || _HAS_FEATURES_REMOVED_IN_CXX20)
#endif // _HAS_DEPRECATED_TEMPORARY_BUFFER

#ifndef _HAS_DEPRECATED_RAW_STORAGE_ITERATOR
#define _HAS_DEPRECATED_RAW_STORAGE_ITERATOR (!_HAS_CXX20 || _HAS_FEATURES_REMOVED_IN_CXX20)
#endif // _HAS_DEPRECATED_RAW_STORAGE_ITERATOR

// LIBRARY FEATURE-TEST MACROS

// C++14
Expand Down

0 comments on commit 75f5313

Please sign in to comment.