| 1 |
#include "a.h" |
| 2 |
#ifndef _LIBCPP_VECTOR |
| 3 |
template <class, class _Allocator> |
| 4 |
class __vector_base { |
| 5 |
protected: |
| 6 |
_Allocator __alloc() const; |
| 7 |
__vector_base(_Allocator); |
| 8 |
}; |
| 9 |
|
| 10 |
template <class _Tp, class _Allocator = allocator> |
| 11 |
class vector : __vector_base<_Tp, _Allocator> { |
| 12 |
public: |
| 13 |
vector() noexcept(is_nothrow_default_constructible<_Allocator>::value); |
| 14 |
vector(const vector &); |
| 15 |
vector(vector &&) |
| 16 |
noexcept(is_nothrow_move_constructible<_Allocator>::value); |
| 17 |
}; |
| 18 |
|
| 19 |
#endif |
| 20 |
void GetUniquePtrType() { vector<char> v; } |
| 21 |
|