Lines Matching refs:auto_ptr

10 std::auto_ptr<Derived> create_derived_ptr();
16 std::auto_ptr<char> f_5();
22 void f_6(std::auto_ptr<int>);
25 void f_7(const std::auto_ptr<int> &);
32 std::auto_ptr<int> field;
36 typedef std::auto_ptr<int> int_ptr_type;
44 typedef typename std::auto_ptr<T> created_type;
48 created_type create() { return std::auto_ptr<T>(new T()); } in create()
57 using std::auto_ptr;
60 using std::auto_ptr;
67 template <typename T> struct auto_ptr {}; struct
71 std::auto_ptr<int> a; in f_1()
76 std:: auto_ptr <int> b; in f_1()
79 std :: auto_ptr < char > c(new char()); in f_1()
84 std::auto_ptr<char> d = std::auto_ptr<char>(); in f_1()
89 typedef std::auto_ptr<int> int_ptr_t; in f_1()
95 std::auto_ptr<int> *f; in f_1()
100 static std::auto_ptr<int> g; in f_1()
105 const std::auto_ptr<int> h; in f_1()
108 volatile std::auto_ptr<int> i; in f_1()
111 const volatile std::auto_ptr<int> j; in f_1()
116 auto k = std::auto_ptr<int>{}; in f_1()
119 std::auto_ptr<int> l{std::auto_ptr<int>()}; in f_1()
125 std::auto_ptr<std::auto_ptr<int> > m; in f_1()
131 std::auto_ptr<char>(); in f_1()
136 std::auto_ptr<void> n; in f_1()
142 std::auto_ptr<double> p(o.create()); in f_1()
147 ns_1::auto_ptr<int> q; in f_1()
152 std::auto_ptr<Base> r(create_derived_ptr()); in f_1()
161 auto_ptr<int> a; in f_2()
168 using std::auto_ptr; in f_3()
172 auto_ptr<int> a; in f_3()
180 std::auto_ptr MACRO_1 p(new char()); in f_4()
183 #define MACRO_2 auto_ptr in f_4()
187 #define MACRO_3(Type) std::auto_ptr<Type> in f_4()
191 #define MACRO_4 std::auto_ptr in f_4()
202 std::auto_ptr<char> f_5() in f_5()
207 return std::auto_ptr<char>(new char()); in f_5()
214 ns_2::auto_ptr<char> a; in f_8()
216 auto_ptr<int> b; in f_8()
226 std::auto_ptr<X> p; in f()
231 template <typename T> using aaaaaaaa = auto_ptr<T>;
239 void takes_ownership_fn(std::auto_ptr<int> x);
243 std::auto_ptr<int> get_by_value();
249 std::auto_ptr<int> &get_wrapped();
253 std::auto_ptr<int> wrapped;
258 std::auto_ptr<int> a, b, c; in f()
280 std::auto_ptr<int> d[] = { std::auto_ptr<int>(new int(1)), in f()
281 std::auto_ptr<int>(new int(2)) }; in f()
287 std::auto_ptr<int> e = d[0]; in f()
293 std::auto_ptr<int> f; in f()
296 f = std::auto_ptr<int>(new int(0)); in f()
300 std::auto_ptr<int> g = get_by_value(); in f()