* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.
+ PR libstdc++/21609
+ * include/ext/array_allocator.h: Add deprecated attribute.
+
2014-01-28 Jonathan Wakely <jwakely@redhat.com>
Kyle Lippincott <spectral@google.com>
void
destroy(pointer __p) { __p->~_Tp(); }
#endif
- };
+ } _GLIBCXX_DEPRECATED;
/**
* @brief An allocator that uses previously allocated memory.
public:
template<typename _Tp1, typename _Array1 = _Array>
struct rebind
- { typedef array_allocator<_Tp1, _Array1> other; };
+ {
+ typedef array_allocator<_Tp1, _Array1> other _GLIBCXX_DEPRECATED;
+ } _GLIBCXX_DEPRECATED;
array_allocator(array_type* __array = 0) _GLIBCXX_USE_NOEXCEPT
: _M_array(__array), _M_used(size_type()) { }
_M_used += __n;
return __ret;
}
- };
+ } _GLIBCXX_DEPRECATED;
template<typename _Tp, typename _Array>
inline bool