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