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

1 2

  /ndk/sources/cxx-stl/llvm-libc++/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++/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++/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);
weak_ptr.pass.cpp 12 // weak_ptr
14 // weak_ptr(const weak_ptr& r);
58 const std::weak_ptr<A> pA(ps);
63 std::weak_ptr<A> pB(pA);
76 std::weak_ptr<A> pA;
81 std::weak_ptr<A> pB(pA);
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
owner_before_weak_ptr.pass.cpp 14 // template <class U> bool owner_before(weak_ptr<U> const& b) const;
24 const std::weak_ptr<int> w1(p1);
25 const std::weak_ptr<int> w2(p2);
26 const std::weak_ptr<int> w3(p3);
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
owner_less.pass.cpp 20 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const;
21 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const;
25 // struct owner_less<weak_ptr<T> >
26 // : binary_function<weak_ptr<T>, weak_ptr<T>, bool>
29 // bool operator()(weak_ptr<T> const&, weak_ptr<T> const&) const;
30 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const;
31 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const;
42 const std::weak_ptr<int> w1(p1)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/
weak_ptr.pass.cpp 12 // weak_ptr
14 // weak_ptr& operator=(const weak_ptr& r);
47 const std::weak_ptr<A> pA(ps);
49 std::weak_ptr<A> pB;
weak_ptr_Y.pass.cpp 12 // weak_ptr
14 // template<class Y> weak_ptr& operator=(const weak_ptr<Y>& r);
47 const std::weak_ptr<A> pA(ps);
49 std::weak_ptr<B> pB;
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/
swap.pass.cpp 12 // weak_ptr
14 // void swap(weak_ptr& r);
36 std::weak_ptr<A> w1(p1);
39 std::weak_ptr<A> w2(p2);
reset.pass.cpp 12 // weak_ptr
14 // void swap(weak_ptr& r);
34 std::weak_ptr<A> w1(p1);
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/
swap.pass.cpp 12 // weak_ptr
14 // template<class T> void swap(weak_ptr<T>& a, weak_ptr<T>& b)
36 std::weak_ptr<A> w1(p1);
39 std::weak_ptr<A> w2(p2);
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
weak_ptr.pass.cpp 14 // template<class Y> explicit shared_ptr(const weak_ptr<Y>& r);
45 std::weak_ptr<A> wp;
58 std::weak_ptr<A> wp(sp0);
67 std::weak_ptr<A> wp(sp0);
  /external/stlport/stlport/
memory 76 template<class T> class weak_ptr;
82 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
96 # include <boost/weak_ptr.hpp>
113 using ::boost::weak_ptr;
117 // weak_ptr IO
  /ndk/sources/cxx-stl/stlport/stlport/
memory 76 template<class T> class weak_ptr;
82 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
96 # include <boost/weak_ptr.hpp>
113 using ::boost::weak_ptr;
117 // weak_ptr IO
  /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/
memory 76 template<class T> class weak_ptr;
82 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
96 # include <boost/weak_ptr.hpp>
113 using ::boost::weak_ptr;
117 // weak_ptr IO
  /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/
memory 76 template<class T> class weak_ptr;
82 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
96 # include <boost/weak_ptr.hpp>
113 using ::boost::weak_ptr;
117 // weak_ptr IO
  /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/
memory 76 template<class T> class weak_ptr;
82 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
96 # include <boost/weak_ptr.hpp>
113 using ::boost::weak_ptr;
117 // weak_ptr IO
  /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/
memory 76 template<class T> class weak_ptr;
82 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b);
96 # include <boost/weak_ptr.hpp>
113 using ::boost::weak_ptr;
117 // weak_ptr IO
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
shared_ptr.h 1 // shared_ptr and weak_ptr implementation -*- C++ -*-
34 // weak_ptr.hpp
242 * @param __r A weak_ptr.
248 explicit shared_ptr(const weak_ptr<_Tp1>& __r)
398 class weak_ptr : public __weak_ptr<_Tp> class in inherits:__weak_ptr
401 constexpr weak_ptr() function in class:weak_ptr
406 weak_ptr(const weak_ptr<_Tp1>& __r) function in class:weak_ptr
411 weak_ptr(const shared_ptr<_Tp1>& __r) function in class:weak_ptr
415 weak_ptr
    [all...]

Completed in 594 milliseconds

1 2