/third_party/boost/libs/smart_ptr/test/ |
D | lsp_array_cast_test.cpp | 80 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()
|
D | sp_array_cast_test.cpp | 80 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()
|
D | cpp11_pointer_cast_test.cpp | 113 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()
|
D | pointer_cast_test2.cpp | 101 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()
|
D | pointer_cast_test.cpp | 101 boost::const_pointer_cast<const base> in check_const_pointer_cast() 102 (boost::const_pointer_cast<base>(ptr))) == in check_const_pointer_cast()
|
D | shared_ptr_rv_pointer_cast_test.cpp | 51 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()
|
D | pointer_cast_co_fail.cpp | 17 std::unique_ptr<int[]> p2 = boost::const_pointer_cast<int[]>( std::move( p1 ) ); in main()
|
D | pointer_cast_co_fail2.cpp | 17 std::unique_ptr<int> p2 = boost::const_pointer_cast<int>( std::move( p1 ) ); in main()
|
D | pointer_cast_co_fail3.cpp | 28 std::unique_ptr<B[]> p2 = boost::const_pointer_cast<B[]>( std::move( p1 ) ); in main()
|
D | esft_void_test.cpp | 25 boost::shared_ptr< void > pv2 = boost::const_pointer_cast< void >( pv ); in main()
|
D | shared_from_raw_test4.cpp | 26 boost::shared_ptr< void > pv2 = boost::const_pointer_cast< void >( pv ); in main()
|
D | intrusive_ptr_test.cpp | 940 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()
|
D | intrusive_ptr_move_test.cpp | 230 boost::intrusive_ptr<X> px3 = boost::const_pointer_cast<X>( std::move( px ) ); in main()
|
D | shared_ptr_test.cpp | 2436 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/ |
D | pointer_cast.adoc | 19 `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;
|
D | intrusive_ptr.adoc | 112 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;
|
D | local_shared_ptr.adoc | 199 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;
|
D | shared_ptr.adoc | 215 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/ |
D | pointer_cast.hpp | 34 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/ |
D | intrusive_ptr.hpp | 307 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
|
D | local_shared_ptr.hpp | 580 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
|
D | shared_ptr.hpp | 897 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/ |
D | shared_ptr_132.hpp | 364 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/ |
D | shared_ptr.hpp | 346 shared_ptr<T, VoidAllocator, Deleter> const_pointer_cast(shared_ptr<U, VoidAllocator, Deleter> cons… in const_pointer_cast() function
|
/third_party/boost/boost/interprocess/ |
D | offset_ptr.hpp | 619 const_pointer_cast(const boost::interprocess::offset_ptr<T2, P2, O2, A2> & r) BOOST_NOEXCEPT in const_pointer_cast() function
|