HomeSort by relevance Sort by last modified time
    Searched refs:weak_ptr (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
not_less_than.fail.cpp 12 // template <class T> class weak_ptr;
23 const std::weak_ptr<int> w1(p1);
24 const std::weak_ptr<int> w2(p2);
owner_before_shared_ptr.pass.cpp 12 // weak_ptr
24 const std::weak_ptr<int> w1(p1);
25 const std::weak_ptr<int> w2(p2);
26 const std::weak_ptr<int> w3(p3);
owner_before_weak_ptr.pass.cpp 12 // weak_ptr
14 // template<class U> bool owner_before(const weak_ptr<U>& b);
24 const std::weak_ptr<int> w1(p1);
25 const std::weak_ptr<int> w2(p2);
26 const std::weak_ptr<int> w3(p3);
expired.pass.cpp 12 // weak_ptr
33 std::weak_ptr<A> wp;
39 std::weak_ptr<A> wp(sp0);
lock.pass.cpp 12 // weak_ptr
33 std::weak_ptr<A> wp;
41 std::weak_ptr<A> wp(sp0);
50 std::weak_ptr<A> wp(sp0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/
types.pass.cpp 12 // template<class T> class weak_ptr
25 static_assert((std::is_same<std::weak_ptr<A>::element_type, A>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
default.pass.cpp 12 // template<class T> class weak_ptr
14 // weak_ptr();
23 std::weak_ptr<A> p;
weak_ptr_Y.pass.cpp 12 // weak_ptr
14 // template<class Y> weak_ptr(const weak_ptr<Y>& r);
56 static_assert(( std::is_convertible<std::weak_ptr<A>, std::weak_ptr<B> >::value), "");
57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::weak_ptr<A> >::value), "");
58 static_assert((!std::is_convertible<std::weak_ptr<A>, std::weak_ptr<C> >::value), "");
60 const std::weak_ptr<A> pA(std::shared_ptr<A>(new A))
    [all...]
shared_ptr_Y.pass.cpp 12 // weak_ptr
14 // template<class Y> weak_ptr(const shared_ptr<Y>& r);
56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::weak_ptr<B> >::value), "");
57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::shared_ptr<A> >::value), "");
58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::weak_ptr<C> >::value), "");
65 std::weak_ptr<B> pB(pA);
83 std::weak_ptr<B> pB(pA);