Home
last modified time | relevance | path

Searched refs:const_pointer_cast (Results 1 – 25 of 26) sorted by relevance

12

/third_party/boost/libs/smart_ptr/test/
Dlsp_array_cast_test.cpp80 boost::local_shared_ptr<int[]> px2 = boost::const_pointer_cast<int[]>(px); in const_cast_test()
87 boost::local_shared_ptr<int[2]> px2 = boost::const_pointer_cast<int[2]>(px); in const_cast_test()
94 boost::local_shared_ptr<X[]> px2 = boost::const_pointer_cast<X[]>(px); in const_cast_test()
101 boost::local_shared_ptr<X[5]> px2 = boost::const_pointer_cast<X[5]>(px); in const_cast_test()
108 boost::local_shared_ptr<int[]> px2 = boost::const_pointer_cast<int[]>(px); in const_cast_test()
116 boost::local_shared_ptr<int[3]> px2 = boost::const_pointer_cast<int[3]>(px); in const_cast_test()
124 boost::local_shared_ptr<X[]> px2 = boost::const_pointer_cast<X[]>(px); in const_cast_test()
132 boost::local_shared_ptr<X[4]> px2 = boost::const_pointer_cast<X[4]>(px); in const_cast_test()
Dsp_array_cast_test.cpp80 boost::shared_ptr<int[]> px2 = boost::const_pointer_cast<int[]>(px); in const_cast_test()
87 boost::shared_ptr<int[2]> px2 = boost::const_pointer_cast<int[2]>(px); in const_cast_test()
94 boost::shared_ptr<X[]> px2 = boost::const_pointer_cast<X[]>(px); in const_cast_test()
101 boost::shared_ptr<X[5]> px2 = boost::const_pointer_cast<X[5]>(px); in const_cast_test()
108 boost::shared_ptr<int[]> px2 = boost::const_pointer_cast<int[]>(px); in const_cast_test()
116 boost::shared_ptr<int[3]> px2 = boost::const_pointer_cast<int[3]>(px); in const_cast_test()
124 boost::shared_ptr<X[]> px2 = boost::const_pointer_cast<X[]>(px); in const_cast_test()
132 boost::shared_ptr<X[4]> px2 = boost::const_pointer_cast<X[4]>(px); in const_cast_test()
Dcpp11_pointer_cast_test.cpp113 boost::const_pointer_cast<const base> in check_const_pointer_cast()
114 (boost::const_pointer_cast<base>(ptr))) == in check_const_pointer_cast()
172 boost::const_pointer_cast<const base> in check_const_moving_pointer_cast()
173 (boost::const_pointer_cast<base>( std::move(smart) ))) == in check_const_moving_pointer_cast()
Dpointer_cast_test2.cpp101 std::unique_ptr<int const> p2 = boost::const_pointer_cast<int const>( std::move( p1 ) ); in test_const_cast()
106 std::unique_ptr<int> p3 = boost::const_pointer_cast<int>( std::move( p2 ) ); in test_const_cast()
116 std::unique_ptr<int const[]> p2 = boost::const_pointer_cast<int const[]>( std::move( p1 ) ); in test_const_cast()
121 std::unique_ptr<int[]> p3 = boost::const_pointer_cast<int[]>( std::move( p2 ) ); in test_const_cast()
Dpointer_cast_test.cpp101 boost::const_pointer_cast<const base> in check_const_pointer_cast()
102 (boost::const_pointer_cast<base>(ptr))) == in check_const_pointer_cast()
Dshared_ptr_rv_pointer_cast_test.cpp51 boost::shared_ptr<int> px2 = boost::const_pointer_cast<int>(px); in main()
52 boost::shared_ptr<int> px3 = boost::const_pointer_cast<int>(std::move(px)); in main()
Dpointer_cast_co_fail.cpp17 std::unique_ptr<int[]> p2 = boost::const_pointer_cast<int[]>( std::move( p1 ) ); in main()
Dpointer_cast_co_fail2.cpp17 std::unique_ptr<int> p2 = boost::const_pointer_cast<int>( std::move( p1 ) ); in main()
Dpointer_cast_co_fail3.cpp28 std::unique_ptr<B[]> p2 = boost::const_pointer_cast<B[]>( std::move( p1 ) ); in main()
Desft_void_test.cpp25 boost::shared_ptr< void > pv2 = boost::const_pointer_cast< void >( pv ); in main()
Dshared_from_raw_test4.cpp26 boost::shared_ptr< void > pv2 = boost::const_pointer_cast< void >( pv ); in main()
Dintrusive_ptr_test.cpp940 boost::intrusive_ptr<X> px2 = boost::const_pointer_cast<X>(px); in test()
945 … boost::intrusive_ptr<X> px2 = boost::const_pointer_cast<X>( boost::intrusive_ptr<X const>() ); in test()
954 boost::intrusive_ptr<X> px2 = boost::const_pointer_cast<X>(px); in test()
963 … boost::intrusive_ptr<X> px = boost::const_pointer_cast<X>( boost::intrusive_ptr<X const>(new X) ); in test()
Dintrusive_ptr_move_test.cpp230 boost::intrusive_ptr<X> px3 = boost::const_pointer_cast<X>( std::move( px ) ); in main()
Dshared_ptr_test.cpp2436 boost::shared_ptr<void> px2 = boost::const_pointer_cast<void>(px); in test()
2443 boost::shared_ptr<int> px2 = boost::const_pointer_cast<int>(px); in test()
2450 boost::shared_ptr<X> px2 = boost::const_pointer_cast<X>(px); in test()
2457 boost::shared_ptr<void> px2 = boost::const_pointer_cast<void>(px); in test()
2467 boost::shared_ptr<int> px2 = boost::const_pointer_cast<int>(px); in test()
/third_party/boost/libs/smart_ptr/doc/smart_ptr/
Dpointer_cast.adoc19 `dynamic_pointer_cast`, `const_pointer_cast`, and `reinterpret_pointer_cast`)
38 `dynamic_pointer_cast`, `const_pointer_cast`, and `reinterpret_pointer_cast`
52 template<class T, class U> T* const_pointer_cast(U* p) noexcept;
60 const_pointer_cast(const std::shared_ptr<U>& p) noexcept;
69 const_pointer_cast(std::unique_ptr<U>&& p) noexcept;
145 ### const_pointer_cast
148 template<class T, class U> T* const_pointer_cast(U* p) noexcept;
157 const_pointer_cast(const std::shared_ptr<U>& p) noexcept;
162 Returns:: `std::const_pointer_cast<T>(p)`
166 const_pointer_cast(std::unique_ptr<U>&& p) noexcept;
Dintrusive_ptr.adoc112 intrusive_ptr<T> const_pointer_cast(intrusive_ptr<U> const & r) noexcept;
449 ### const_pointer_cast
453 intrusive_ptr<T> const_pointer_cast(intrusive_ptr<U> const & r) noexcept;
Dlocal_shared_ptr.adoc199 local_shared_ptr<T> const_pointer_cast(local_shared_ptr<U> const & r) noexcept;
683 ### const_pointer_cast
686 local_shared_ptr<T> const_pointer_cast(local_shared_ptr<U> const & r) noexcept;
Dshared_ptr.adoc215 shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r) noexcept;
789 ### const_pointer_cast
792 shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r) noexcept;
/third_party/boost/boost/
Dpointer_cast.hpp34 inline T* const_pointer_cast(U *ptr) BOOST_SP_NOEXCEPT in const_pointer_cast() function
63 using std::const_pointer_cast;
99 template<class T, class U> std::unique_ptr<T> const_pointer_cast( std::unique_ptr<U> && r ) BOOST_S… in const_pointer_cast() function
/third_party/boost/boost/smart_ptr/
Dintrusive_ptr.hpp307 template<class T, class U> intrusive_ptr<T> const_pointer_cast(intrusive_ptr<U> const & p) in const_pointer_cast() function
324 template<class T, class U> intrusive_ptr<T> const_pointer_cast( intrusive_ptr<U> && p ) BOOST_SP_NO… in const_pointer_cast() function
Dlocal_shared_ptr.hpp580 template<class T, class U> local_shared_ptr<T> const_pointer_cast( local_shared_ptr<U> const & r ) … in const_pointer_cast() function
622 template<class T, class U> local_shared_ptr<T> const_pointer_cast( local_shared_ptr<U> && r ) BOOST… in const_pointer_cast() function
Dshared_ptr.hpp897 template<class T, class U> shared_ptr<T> const_pointer_cast( shared_ptr<U> const & r ) BOOST_SP_NOE… in const_pointer_cast() function
939 template<class T, class U> shared_ptr<T> const_pointer_cast( shared_ptr<U> && r ) BOOST_SP_NOEXCEPT in const_pointer_cast() function
/third_party/boost/boost/serialization/detail/
Dshared_ptr_132.hpp364 template<class T, class U> shared_ptr< T > const_pointer_cast(shared_ptr<U> const & r) in const_pointer_cast() function
/third_party/boost/boost/interprocess/smart_ptr/
Dshared_ptr.hpp346 shared_ptr<T, VoidAllocator, Deleter> const_pointer_cast(shared_ptr<U, VoidAllocator, Deleter> cons… in const_pointer_cast() function
/third_party/boost/boost/interprocess/
Doffset_ptr.hpp619 const_pointer_cast(const boost::interprocess::offset_ptr<T2, P2, O2, A2> & r) BOOST_NOEXCEPT in const_pointer_cast() function

12