/third_party/boost/libs/core/test/ |
D | pointer_traits_rebind_test.cpp | 59 boost::pointer_traits<R*>::rebind_to<char>::type>)); in main() 61 boost::pointer_traits<P1<R> >::rebind_to<char>::type>)); in main() 63 boost::pointer_traits<P2<R, R> >::rebind_to<char>::type>)); in main() 65 boost::pointer_traits<P3<R, R, R> >::rebind_to<char>::type>)); in main() 68 boost::pointer_traits<P<R, R, R, R> >::rebind_to<char>::type>)); in main() 71 boost::pointer_traits<R*>::rebind_to<void>::type>)); in main() 73 boost::pointer_traits<P1<R> >::rebind_to<void>::type>)); in main() 75 boost::pointer_traits<void*>::rebind_to<R>::type>)); in main() 77 boost::pointer_traits<P1<void> >::rebind_to<R>::type>)); in main() 79 boost::pointer_traits<R*>::rebind_to<const int>::type>)); in main() [all …]
|
D | pointer_traits_element_type_test.cpp | 49 boost::pointer_traits<int*>::element_type>)); in main() 51 boost::pointer_traits<P1<int> >::element_type>)); in main() 53 boost::pointer_traits<P2<int, char> >::element_type>)); in main() 55 boost::pointer_traits<P3<int, char, char> >::element_type>)); in main() 58 boost::pointer_traits<P<int, char, char, char> >::element_type>)); in main() 61 boost::pointer_traits<E1<int> >::element_type>)); in main() 63 boost::pointer_traits<E2<int, int> >::element_type>)); in main() 65 boost::pointer_traits<E3<int, int, int> >::element_type>)); in main() 68 boost::pointer_traits<E<int, int, int, int> >::element_type>)); in main() 71 boost::pointer_traits<void*>::element_type>)); in main() [all …]
|
D | pointer_traits_difference_type_test.cpp | 23 boost::pointer_traits<int*>::difference_type>)); in main() 25 boost::pointer_traits<P<int> >::difference_type>)); in main() 27 boost::pointer_traits<E<int> >::difference_type>)); in main() 29 boost::pointer_traits<void*>::difference_type>)); in main() 31 boost::pointer_traits<P<void> >::difference_type>)); in main() 33 boost::pointer_traits<E<void> >::difference_type>)); in main() 35 boost::pointer_traits<const int*>::difference_type>)); in main() 37 boost::pointer_traits<P<const int> >::difference_type>)); in main() 39 boost::pointer_traits<E<const int> >::difference_type>)); in main()
|
D | pointer_traits_pointer_test.cpp | 18 boost::pointer_traits<int*>::pointer>)); in main() 20 boost::pointer_traits<P<int> >::pointer>)); in main() 22 boost::pointer_traits<void*>::pointer>)); in main() 24 boost::pointer_traits<P<void> >::pointer>)); in main() 26 boost::pointer_traits<const int*>::pointer>)); in main() 28 boost::pointer_traits<P<const int> >::pointer>)); in main()
|
D | pointer_traits_pointer_to_test.cpp | 14 typedef typename boost::pointer_traits<T>::element_type element_type; 40 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main() 45 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main() 50 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main() 55 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main() 60 BOOST_TEST(boost::pointer_traits<type>::pointer_to(i) == p); in main()
|
D | to_address_test.cpp | 50 struct pointer_traits<P3<T> > { struct 74 struct pointer_traits<P4<T> > { struct 96 struct pointer_traits<P5<T> > { struct 117 struct pointer_traits<P6<T> > { struct 126 struct pointer_traits<P6<T> > { struct
|
/third_party/boost/libs/intrusive/test/ |
D | pointer_traits_test.cpp | 165 BOOST_STATIC_ASSERT(( boost::intrusive::detail::is_same<boost::intrusive::pointer_traits in main() 167 BOOST_STATIC_ASSERT(( boost::intrusive::detail::is_same<boost::intrusive::pointer_traits in main() 169 BOOST_STATIC_ASSERT(( boost::intrusive::detail::is_same<boost::intrusive::pointer_traits in main() 171 BOOST_STATIC_ASSERT(( boost::intrusive::detail::is_same<boost::intrusive::pointer_traits in main() 174 BOOST_TEST(boost::intrusive::pointer_traits<int*>::pointer_to(dummy) == &dummy); in main() 175 BOOST_TEST(boost::intrusive::pointer_traits<D*>:: static_cast_from((B*)0) == 0); in main() 176 BOOST_TEST(boost::intrusive::pointer_traits<D*>:: const_cast_from((const D*)0) == 0); in main() 177 BOOST_TEST(boost::intrusive::pointer_traits<DD*>:: dynamic_cast_from((B*)0) == 0); in main() 180 BOOST_STATIC_ASSERT(( boost::intrusive::detail::is_same<boost::intrusive::pointer_traits in main() 182 BOOST_STATIC_ASSERT(( boost::intrusive::detail::is_same<boost::intrusive::pointer_traits in main() [all …]
|
D | nonhook_node.hpp | 41 node_algorithms::init(pointer_traits<node_ptr>::pointer_to(static_cast< node& >(*this))); in nonhook_node_member() 47 node_algorithms::init(pointer_traits<node_ptr>::pointer_to(static_cast< node& >(*this))); in nonhook_node_member() 59 node_algorithms::init(pointer_traits<node_ptr>::pointer_to(static_cast< node& >(*this))); in ~nonhook_node_member() 64 node_algorithms::swap_nodes(pointer_traits<node_ptr>::pointer_to(static_cast< node& >(*this)), in swap_nodes() 65 … pointer_traits<node_ptr>::pointer_to(static_cast< node& >(other))); in swap_nodes() 70 …return !node_algorithms::unique(pointer_traits<const_node_ptr>::pointer_to(static_cast< const node… in is_linked() 82 typedef typename pointer_traits<node_ptr>:: 84 typedef typename pointer_traits<node_ptr>:: 95 return pointer_traits<node_ptr>::pointer_to(static_cast<node&>(value.*P)); in to_node_ptr() 100 return pointer_traits<const_node_ptr>::pointer_to(static_cast<const node&>(value.*P)); in to_node_ptr() [all …]
|
D | unordered_test.hpp | 58 (bucket_traits(pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_all() 79 pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_all() 107 pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_impl() 132 (pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_sort() 158 pointer_traits<typename unordered_set_type::bucket_ptr>:: in test_insert() 217 pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize)); in test_insert() 256 pointer_traits<bucket_ptr>::pointer_to(single_bucket[0]), 1)); in test_insert() 299 pointer_traits<bucket_ptr>::pointer_to(single_bucket[0]), 1)); in test_insert() 319 pointer_traits<bucket_ptr>::pointer_to(single_bucket[0]), 1)); in test_insert() 339 bucket_traits btraits(pointer_traits<bucket_ptr>::pointer_to(buckets[0]), BucketSize); in test_insert() [all …]
|
/third_party/boost/boost/intrusive/detail/ |
D | hook_traits.hpp | 40 typedef typename pointer_traits<node_ptr>::element_type node; 43 typedef typename pointer_traits<node_ptr>:: 45 typedef typename pointer_traits<node_ptr>:: 47 typedef typename pointer_traits<node_ptr>:: 60 pointer p = pointer_traits<pointer>::pointer_to in to_value_ptr() 68 const_pointer p = pointer_traits<const_pointer>::pointer_to in to_value_ptr() 76 node_ptr p = pointer_traits<node_ptr>::pointer_to in to_node_ptr() 84 const_node_ptr p = pointer_traits<const_node_ptr>::pointer_to in to_node_ptr() 110 typedef typename pointer_traits<node_ptr>:: 112 typedef typename pointer_traits<node_ptr>:: [all …]
|
D | node_to_value.hpp | 35 typedef typename boost::intrusive::pointer_traits<VoidPointer>:: 51 typedef typename boost::intrusive::pointer_traits<VoidPointer>:: 81 < typename pointer_traits 88 < typename pointer_traits 100 typedef typename pointer_traits 103 typedef typename pointer_traits<npointer>:: 114 { return pointer_traits<const_value_traits_ptr>::static_cast_from(Base::get_ptr()); } in get_value_traits() 117 { return *(value_traits::to_value_ptr(pointer_traits<npointer>::pointer_to(arg))); } in to_value() 120 { return *(this->get_value_traits()->to_value_ptr(pointer_traits<npointer>::pointer_to(arg))); } in to_value()
|
D | iiterator.hpp | 39 … , typename boost::intrusive::pointer_traits<typename ValueTraits::node_traits::node_ptr>::template 42 typedef typename boost::intrusive::pointer_traits<value_traits_ptr>::template 53 typedef ::boost::intrusive::pointer_traits<node_ptr> nodepointer_traits_t; 59 typedef typename ::boost::intrusive::pointer_traits 61 typedef typename ::boost::intrusive::pointer_traits
|
D | uncast.hpp | 35 typedef typename pointer_traits<ConstNodePtr>::element_type element_type; 37 typedef typename pointer_traits<ConstNodePtr>:: 39 typedef pointer_traits<non_const_pointer> non_const_traits;
|
/third_party/boost/boost/intrusive/ |
D | pointer_traits.hpp | 68 struct pointer_traits struct 134 return pointer_traits::priv_pointer_to(flag, r); in pointer_to() 155 return pointer_traits::priv_static_cast_from(boost::intrusive::detail::bool_<value>(), uptr); in static_cast_from() 176 return pointer_traits::priv_const_cast_from(boost::intrusive::detail::bool_<value>(), uptr); in const_cast_from() 197 return pointer_traits::priv_dynamic_cast_from(boost::intrusive::detail::bool_<value>(), uptr); in dynamic_cast_from() 208 BOOST_INTRUSIVE_FORCEINLINE static typename pointer_traits<Pointer>::element_type* 210 { return pointer_traits::to_raw_pointer(p.operator->()); } in to_raw_pointer() 252 struct pointer_traits<const Ptr> : pointer_traits<Ptr> {}; struct 254 struct pointer_traits<volatile Ptr> : pointer_traits<Ptr> { }; struct 256 struct pointer_traits<const volatile Ptr> : pointer_traits<Ptr> { }; struct [all …]
|
D | member_value_traits.hpp | 49 typedef pointer_traits<node_ptr> node_ptr_traits; 50 typedef typename pointer_traits<node_ptr>::template 52 typedef typename pointer_traits<node_ptr>::template 61 { return pointer_traits<node_ptr>::pointer_to(value.*PtrToMember); } in to_node_ptr() 64 { return pointer_traits<const_node_ptr>::pointer_to(value.*PtrToMember); } in to_node_ptr() 68 return pointer_traits<pointer>::pointer_to(*detail::parent_from_member<value_type, node> in to_value_ptr() 74 return pointer_traits<const_pointer>::pointer_to(*detail::parent_from_member<value_type, node> in to_value_ptr()
|
D | derivation_value_traits.hpp | 45 typedef typename pointer_traits<node_ptr>:: 47 typedef typename pointer_traits<node_ptr>:: 50 pointer_traits<pointer>::reference reference; 52 pointer_traits<const_pointer>::reference const_reference; 63 return pointer_traits<pointer>::pointer_to(static_cast<reference>(*n)); in to_value_ptr() 68 return pointer_traits<const_pointer>::pointer_to(static_cast<const_reference>(*n)); in to_value_ptr()
|
D | unordered_set_hook.hpp | 38 typedef typename pointer_traits 50 typedef typename pointer_traits 61 typedef typename pointer_traits 75 typedef typename pointer_traits 78 typedef typename pointer_traits 86 { return pointer_traits<node_ptr>::static_cast_from(n->next_); } in get_next()
|
/third_party/boost/boost/core/ |
D | pointer_traits.hpp | 23 struct pointer_traits struct 24 : std::pointer_traits<T> { 27 typedef typename std::pointer_traits<T>::template rebind<U> type; 32 struct pointer_traits<T*> struct 33 : std::pointer_traits<T*> { 145 struct pointer_traits { 164 struct pointer_traits<T*> { 203 -> decltype(boost::pointer_traits<T>::to_address(v)) in ptr_address() 205 return boost::pointer_traits<T>::to_address(v); in ptr_address() 225 inline typename pointer_traits<T>::element_type*
|
/third_party/boost/libs/core/doc/ |
D | pointer_traits.qbk | 9 [section:pointer_traits pointer_traits] 19 The header <boost/core/pointer_traits.hpp> provides the class template 20 `boost::pointer_traits` to facilitate use of pointer-like types. The C++11 21 standard library introduced `std::pointer_traits` along with an allocator 50 template<class T> struct pointer_traits { 61 template<class T> struct pointer_traits<T*> { 100 [[`static pointer pointer_traits::pointer_to(`['see below] `v);`] 107 [[`static pointer pointer_traits<T*>::pointer_to(`['see below] `v) noexcept;`] 138 [[Returns][`pointer_traits<T>::to_address(v)` if that 147 Glen Fernandes implemented `pointer_traits` and `to_address` with reviews and
|
/third_party/boost/boost/container/detail/ |
D | multiallocation_chain.hpp | 48 typedef typename boost::intrusive::pointer_traits 51 pointer_traits<char_ptr>::difference_type difference_type; 60 typedef typename boost::intrusive::pointer_traits 63 pointer_traits<node_ptr> node_ptr_traits; 149 typedef typename boost::intrusive::pointer_traits<char_ptr> char_pointer_traits; in incorporate_after() 206 typedef typename boost::intrusive::pointer_traits 210 typedef typename boost::intrusive::pointer_traits 211 <pointer> pointer_traits; typedef in boost::container::dtl::transform_multiallocation_chain 214 { return pointer_traits::static_cast_from(p); } in cast()
|
/third_party/boost/libs/interprocess/test/ |
D | heap_allocator_v1.hpp | 51 pointer_traits<aux_pointer_t>::template 55 pointer_traits<cvoid_ptr>::template 68 pointer_traits<cvoid_ptr>::template 71 pointer_traits<cvoid_ptr>::template 118 …return boost::intrusive::pointer_traits<pointer>::pointer_to(reinterpret_cast<value_type &>(*raw_m… in allocate()
|
D | allocator_v1.hpp | 51 pointer_traits<aux_pointer_t>::template 55 pointer_traits<cvoid_ptr>::template 69 pointer_traits<cvoid_ptr>::template 73 pointer_traits<cvoid_ptr>::template
|
/third_party/boost/boost/interprocess/smart_ptr/detail/ |
D | shared_count.hpp | 51 pointer_traits<typename VoidAllocator::pointer>::template 58 pointer_traits<typename VoidAllocator::pointer>::template 61 pointer_traits<typename VoidAllocator::pointer>::template 70 pointer_traits<typename VoidAllocator::pointer>::template 74 pointer_traits<typename VoidAllocator::pointer>::template 233 pointer_traits<typename VoidAllocator::pointer>::template 241 pointer_traits<typename VoidAllocator::pointer>::template 244 pointer_traits<typename VoidAllocator::pointer>::template
|
/third_party/boost/libs/unordered/test/unordered/ |
D | compile_tests.hpp | 287 typename boost::pointer_traits<iterator>::pointer>::value)); in unordered_set_test() 289 typename boost::pointer_traits<iterator>::element_type>::value)); in unordered_set_test() 291 typename boost::pointer_traits<iterator>::difference_type>::value)); in unordered_set_test() 296 typename boost::pointer_traits<const_iterator>::pointer>::value)); in unordered_set_test() 298 typename boost::pointer_traits<const_iterator>::element_type>::value)); in unordered_set_test() 300 typename boost::pointer_traits<const_iterator>::difference_type>::value)); in unordered_set_test() 305 typename boost::pointer_traits<local_iterator>::pointer>::value)); in unordered_set_test() 307 typename boost::pointer_traits<local_iterator>::element_type>::value)); in unordered_set_test() 309 typename boost::pointer_traits<local_iterator>::difference_type>::value)); in unordered_set_test() 314 typename boost::pointer_traits<const_local_iterator>::pointer>::value)); in unordered_set_test() [all …]
|
/third_party/boost/libs/config/test/ |
D | boost_no_cxx11_pointer_traits.ipp | 11 // TITLE: C++11 <memory> lacks a correct std::pointer_traits 12 // DESCRIPTION: The standard library lacks a working std::pointer_traits. 34 return result<std::pointer_traits<pointer<int> >::rebind<bool> >::value;
|