/third_party/boost/libs/optional/test/ |
D | optional_test_ref_converting_ctor.cpp | 35 BOOST_TEST(boost::addressof(*o1) == boost::addressof(v1)); in test_converting_ctor() 37 BOOST_TEST(boost::addressof(*o1_) == boost::addressof(v1)); in test_converting_ctor() 38 BOOST_TEST(boost::addressof(*o1_) == boost::addressof(*o1)); in test_converting_ctor() 41 BOOST_TEST(boost::addressof(*o2) == boost::addressof(v2)); in test_converting_ctor() 42 BOOST_TEST(boost::addressof(*o2) != boost::addressof(*o1)); in test_converting_ctor() 48 BOOST_TEST(boost::addressof(*o1) == boost::addressof(v1)); in test_converting_ctor() 50 BOOST_TEST(boost::addressof(*o1_) == boost::addressof(v1)); in test_converting_ctor() 51 BOOST_TEST(boost::addressof(*o1_) == boost::addressof(*o1)); in test_converting_ctor() 54 BOOST_TEST(boost::addressof(*o2) == boost::addressof(v2)); in test_converting_ctor() 55 BOOST_TEST(boost::addressof(*o2) != boost::addressof(*o1)); in test_converting_ctor() [all …]
|
D | optional_ref_assign_test_defs.hpp | 25 using boost::addressof; 36 BOOST_TEST(addressof(*o) == addressof(v)); in test_copy_assignment_for_const() 50 BOOST_TEST(addressof(*o) == addressof(v)); in test_copy_assignment_for_noconst_const() 55 BOOST_TEST(addressof(*o) == addressof(v)); in test_copy_assignment_for_noconst_const() 70 BOOST_TEST(addressof(*o) == addressof(v)); in test_copy_assignment_for() 75 BOOST_TEST(addressof(*o) == addressof(v)); in test_copy_assignment_for() 81 BOOST_TEST(addressof(*o) == addressof(v)); in test_copy_assignment_for() 94 BOOST_TEST(addressof(*o) == addressof(v)); in test_rebinding_assignment_semantics_const() 102 BOOST_TEST(addressof(*o) != addressof(v)); in test_rebinding_assignment_semantics_const() 106 BOOST_TEST(addressof(*o) == addressof(w)); in test_rebinding_assignment_semantics_const() [all …]
|
D | optional_test_ref_move.cpp | 42 BOOST_TEST(boost::addressof(*opt) == boost::addressof(global)); in main() 47 BOOST_TEST(boost::addressof(str) == boost::addressof(global)); in main() 53 BOOST_TEST(boost::addressof(str) == boost::addressof(global)); in main() 59 BOOST_TEST(boost::addressof(str) == boost::addressof(global)); in main() 65 BOOST_TEST(boost::addressof(str) == boost::addressof(global)); in main()
|
D | optional_test_ref_portable_minimum.cpp | 67 BOOST_TEST(boost::addressof(o->val()) == boost::addressof(v.val())); in test_arrow_const() 84 BOOST_TEST(boost::addressof(o->val()) == boost::addressof(v.val())); in test_arrow_noconst_const() 90 BOOST_TEST(boost::addressof(o->val()) == boost::addressof(v.val())); in test_arrow_noconst_const() 107 BOOST_TEST(boost::addressof(o->val()) == boost::addressof(v.val())); in test_arrow() 113 BOOST_TEST(boost::addressof(o->val()) == boost::addressof(v.val())); in test_arrow() 119 BOOST_TEST(boost::addressof(o->val()) == boost::addressof(v.val())); in test_arrow() 153 BOOST_TEST(boost::addressof(*o) == boost::addressof(v)); in test_direct_init_for_const() 166 BOOST_TEST(boost::addressof(*o) == boost::addressof(v)); in test_direct_init_for_noconst_const() 171 BOOST_TEST(boost::addressof(*o) == boost::addressof(v)); in test_direct_init_for_noconst_const() 185 BOOST_TEST(boost::addressof(*o) == boost::addressof(v)); in test_direct_init_for() [all …]
|
D | optional_test_ref_to_val.cpp | 65 BOOST_TEST (boost::addressof(*opt_val1) != boost::addressof(v1)); in test_construct_from_optional_ref() 66 BOOST_TEST (boost::addressof(*opt_val2) != boost::addressof(v2)); in test_construct_from_optional_ref() 92 BOOST_TEST (boost::addressof(*opt_val1) != boost::addressof(v1)); in test_assign_from_optional_ref() 93 BOOST_TEST (boost::addressof(*opt_val2) != boost::addressof(v2)); in test_assign_from_optional_ref()
|
/third_party/boost/libs/core/test/ |
D | addressof_fn_test.cpp | 64 BOOST_TEST( boost::addressof( f0 ) == &f0 ); in main() 65 BOOST_TEST( boost::addressof( f1 ) == &f1 ); in main() 66 BOOST_TEST( boost::addressof( f2 ) == &f2 ); in main() 67 BOOST_TEST( boost::addressof( f3 ) == &f3 ); in main() 68 BOOST_TEST( boost::addressof( f4 ) == &f4 ); in main() 69 BOOST_TEST( boost::addressof( f5 ) == &f5 ); in main() 70 BOOST_TEST( boost::addressof( f6 ) == &f6 ); in main() 71 BOOST_TEST( boost::addressof( f7 ) == &f7 ); in main() 72 BOOST_TEST( boost::addressof( f8 ) == &f8 ); in main() 73 BOOST_TEST( boost::addressof( f9 ) == &f9 ); in main()
|
D | addressof_test.cpp | 30 BOOST_TEST( boost::addressof(x) == px ); in scalar_test() 33 const T* pcx = boost::addressof(cx); in scalar_test() 37 volatile T* pvx = boost::addressof(vx); in scalar_test() 41 const volatile T* pcvx = boost::addressof(cvx); in scalar_test() 51 BOOST_TEST( boost::addressof(nrg) == pnrg ); in array_test() 55 BOOST_TEST( boost::addressof(cnrg) == pcnrg ); in array_test()
|
D | addressof_test2.cpp | 32 BOOST_TEST( boost::addressof(x) == px ); in scalar_test() 35 const T* pcx = boost::addressof(cx); in scalar_test() 39 volatile T* pvx = boost::addressof(vx); in scalar_test() 43 const volatile T* pcvx = boost::addressof(cvx); in scalar_test() 53 BOOST_TEST( boost::addressof(nrg) == pnrg ); in array_test() 57 BOOST_TEST( boost::addressof(cnrg) == pcnrg ); in array_test()
|
D | addressof_np_test.cpp | 25 BOOST_TEST( boost::addressof(x) == &x ); in nullptr_test() 30 BOOST_TEST( boost::addressof(x) == &x ); in nullptr_test() 35 BOOST_TEST( boost::addressof(x) == &x ); in nullptr_test() 40 BOOST_TEST( boost::addressof(x) == &x ); in nullptr_test()
|
/third_party/boost/libs/core/doc/ |
D | addressof.qbk | 10 [section:addressof addressof] 21 [section Header <boost/core/addressof.hpp>] 23 The header `<boost/core/addressof.hpp>` defines the function 24 template `boost::addressof`. `boost::addressof(x)` returns the 26 `&x`, but the unary `&` operator can be overloaded. `boost::addressof` 29 `boost::addressof` was originally contributed by Brad King 37 template<class T> T* addressof( T& x ); 46 #include <boost/core/addressof.hpp> 56 nonaddressable* xp = boost::addressof(x); 65 In C++11 and above, `boost::addressof` is conditionally [all …]
|
/third_party/boost/boost/container/detail/ |
D | dispatch_uses_allocator.hpp | 228 (dispatch_uses_allocator)(construct_alloc, arg_alloc, dtl::addressof(p->first)); 230 (dispatch_uses_allocator)(construct_alloc, arg_alloc, dtl::addressof(p->second)); 233 allocator_traits<ConstructAlloc>::destroy(construct_alloc, dtl::addressof(p->first)); 249 …(dispatch_uses_allocator)(construct_alloc, arg_alloc, dtl::addressof(p->first), ::boost::forward<U… in BOOST_CONTAINER_DOC1ST() 251 …(dispatch_uses_allocator)(construct_alloc, arg_alloc, dtl::addressof(p->second), ::boost::forward<… in BOOST_CONTAINER_DOC1ST() 254 allocator_traits<ConstructAlloc>::destroy(construct_alloc, dtl::addressof(p->first)); in BOOST_CONTAINER_DOC1ST() 296 …(construct_alloc, arg_alloc, dtl::addressof(pair->first) BOOST_MOVE_I_IF(N) BOOST_MOVE_TMPL_GET##N… 299 …(construct_alloc, arg_alloc, dtl::addressof(pair->second) BOOST_MOVE_I_IF(M) BOOST_MOVE_TMPL_GETQ#… 302 allocator_traits<ConstructAlloc>::destroy(construct_alloc, dtl::addressof(pair->first));\ 320 …(dispatch_uses_allocator)(construct_alloc, arg_alloc, dtl::addressof(pair->first), ::boost::forwar… in dispatch_uses_allocator_index() [all …]
|
/third_party/boost/boost/geometry/index/detail/ |
D | varray_detail.hpp | 227 ::memmove(boost::addressof(*dst), boost::addressof(*first), sizeof(value_type) * d); in copy_dispatch() 263 ::memcpy(boost::addressof(*dst), boost::addressof(*first), sizeof(value_type) * d); in uninitialized_copy_dispatch() 301 ::memcpy(boost::addressof(*dst), boost::addressof(*first), sizeof(value_type) * d); in uninitialized_move_dispatch() 318 new (boost::addressof(*o)) value_type(boost::move(*first)); in uninitialized_move_dispatch() 358 ::memmove(boost::addressof(*dst), boost::addressof(*first), sizeof(value_type) * d); in move_dispatch() 397 ::memmove(boost::addressof(*foo), boost::addressof(*first), sizeof(value_type) * d); in move_backward_dispatch() 502 new (boost::addressof(*first)) value_type(); in uninitialized_fill_dispatch() 517 new (boost::addressof(*it)) value_type(); // may throw in uninitialized_fill_dispatch() 547 … new (static_cast<void*>(::boost::addressof(*pos))) value_type(); // may throw in construct_dispatch() 570 ::memcpy(boost::addressof(*pos), boost::addressof(v), sizeof(V)); in construct_copy_dispatch() [all …]
|
/third_party/boost/boost/core/ |
D | addressof.hpp | 38 addressof(T& o) BOOST_NOEXCEPT in addressof() function 126 addressof(T& o) BOOST_NOEXCEPT in addressof() function 148 addressof(T (&o)[N]) BOOST_NOEXCEPT in addressof() function 157 T (*addressof(T (&o)[N]) BOOST_NOEXCEPT)[N] 164 const T (*addressof(const T (&o)[N]) BOOST_NOEXCEPT)[N] 238 addressof(T& o) BOOST_NOEXCEPT in addressof() function 246 addressof(T& o) BOOST_NOEXCEPT in addressof() function 255 addressof(T& o) BOOST_NOEXCEPT in addressof() function 257 return boost::detail::addressof(o); in addressof() 269 const T* addressof(const T&&) = delete;
|
/third_party/boost/libs/container/bench/detail/ |
D | varray_util.hpp | 179 …::memmove(boost::container::dtl::addressof(*dst), boost::container::dtl::addressof(*first), sizeof… in copy_dispatch() 209 …::memcpy(boost::container::dtl::addressof(*dst), boost::container::dtl::addressof(*first), sizeof(… in uninitialized_copy_dispatch() 241 …::memcpy(boost::container::dtl::addressof(*dst), boost::container::dtl::addressof(*first), sizeof(… in uninitialized_move_dispatch() 258 new (boost::container::dtl::addressof(*o)) value_type(boost::move(*first)); in uninitialized_move_dispatch() 292 …::memmove(boost::container::dtl::addressof(*dst), boost::container::dtl::addressof(*first), sizeof… in move_dispatch() 325 …::memmove(boost::container::dtl::addressof(*foo), boost::container::dtl::addressof(*first), sizeof… in move_backward_dispatch() 422 new (boost::container::dtl::addressof(*first)) value_type(); in uninitialized_fill_dispatch() 437 … new (boost::container::dtl::addressof(*it)) value_type(); // may throw in uninitialized_fill_dispatch() 469 …new (static_cast<void*>(::boost::container::dtl::addressof(*pos))) value_type(); … in construct_dispatch() 490 … ::memcpy(boost::container::dtl::addressof(*pos), boost::container::dtl::addressof(v), sizeof(V)); in construct_dispatch() [all …]
|
/third_party/boost/boost/optional/detail/ |
D | optional_reference_spec.hpp | 136 : ptr_(boost::addressof(rhs)) {} in optional() 140 : ptr_(boost::addressof(rhs)) {} in optional() 188 : ptr_(boost::addressof(r)) { detail::prevent_binding_rvalue<R>(); } in optional() 192 : ptr_(cond ? boost::addressof(r) : 0) { detail::prevent_binding_rvalue<R>(); } in optional() 196 … r) BOOST_NOEXCEPT { detail::prevent_binding_rvalue<R>(); ptr_ = boost::addressof(r); return *this… in operator =() 200 { detail::prevent_binding_rvalue<R>(); ptr_ = boost::addressof(r); } in emplace() 212 { detail::prevent_binding_rvalue<R>(); ptr_ = boost::addressof(r); } in reset() 223 : ptr_(boost::addressof(v)) { } in optional() 227 : ptr_(boost::addressof(v)) { } in optional() 230 …il::is_no_optional<U>, bool>::type = true) BOOST_NOEXCEPT : ptr_(cond ? boost::addressof(v) : 0) {} in optional() [all …]
|
/third_party/boost/libs/numeric/ublas/test/tensor/ |
D | test_multi_index.cpp | 106 BOOST_CHECK_EQUAL ( std::addressof( a_ind.first ), std::addressof( a ) ) ; in BOOST_AUTO_TEST_CASE_TEMPLATE() 116 BOOST_CHECK_EQUAL ( std::addressof( a_ind.first ), std::addressof( a ) ) ; in BOOST_AUTO_TEST_CASE_TEMPLATE() 126 BOOST_CHECK_EQUAL (std::addressof( a_ind.first ), std::addressof( a ) ) ; in BOOST_AUTO_TEST_CASE_TEMPLATE() 136 BOOST_CHECK_EQUAL (std::addressof( a_ind.first ), std::addressof( a ) ) ; in BOOST_AUTO_TEST_CASE_TEMPLATE()
|
/third_party/boost/libs/config/test/ |
D | boost_no_cxx11_addressof.ipp | 11 // TITLE: C++11 <memory> doesn't have a working std::addressof 12 // DESCRIPTION: The compiler does not support the function std::addressof added to <memory> 25 return std::addressof(x1) != &x1 || std::addressof(x2) != &x2 || std::addressof(x3) != &x3;
|
/third_party/boost/boost/python/object/ |
D | value_holder.hpp | 87 if (void* wrapped = holds_wrapped(dst_t, boost::addressof(m_held), boost::addressof(m_held))) in holds() 91 return src_t == dst_t ? boost::addressof(m_held) in holds() 92 : find_static_type(boost::addressof(m_held), src_t, dst_t); in holds() 136 python::detail::initialize_wrapper(self, boost::addressof(this->m_held));
|
/third_party/boost/boost/pfr/detail/ |
D | cast_to_layout_compatible.hpp | 37 MAY_ALIAS const To* const t = reinterpret_cast<const To*>( std::addressof(val) ); in cast_to_layout_compatible() 44 …MAY_ALIAS const volatile To* const t = reinterpret_cast<const volatile To*>( std::addressof(val) ); in cast_to_layout_compatible() 52 MAY_ALIAS volatile To* const t = reinterpret_cast<volatile To*>( std::addressof(val) ); in cast_to_layout_compatible() 60 MAY_ALIAS To* const t = reinterpret_cast<To*>( std::addressof(val) ); in cast_to_layout_compatible()
|
/third_party/boost/libs/pfr/include/boost/pfr/detail/ |
D | cast_to_layout_compatible.hpp | 37 MAY_ALIAS const To* const t = reinterpret_cast<const To*>( std::addressof(val) ); in cast_to_layout_compatible() 44 …MAY_ALIAS const volatile To* const t = reinterpret_cast<const volatile To*>( std::addressof(val) ); in cast_to_layout_compatible() 52 MAY_ALIAS volatile To* const t = reinterpret_cast<volatile To*>( std::addressof(val) ); in cast_to_layout_compatible() 60 MAY_ALIAS To* const t = reinterpret_cast<To*>( std::addressof(val) ); in cast_to_layout_compatible()
|
/third_party/boost/boost/geometry/index/detail/rtree/ |
D | query_iterators.hpp | 102 return boost::addressof(m_visitor.dereference()); in operator ->() 174 return boost::addressof(m_visitor.dereference()); in operator ->() 260 …nst query_iterator_wrapper * p = dynamic_cast<const query_iterator_wrapper *>(boost::addressof(r)); in equals() 302 if ( this != boost::addressof(o) ) in operator =() 316 if ( this != boost::addressof(o) ) in operator =() 330 if ( this != boost::addressof(o) ) in operator =() 343 if ( this != boost::addressof(o) ) in operator =() 359 return boost::addressof(m_ptr->dereference()); in operator ->()
|
/third_party/boost/boost/poly_collection/detail/ |
D | base_model.hpp | 60 return dynamic_cast<void*>(boost::addressof(x)); in subaddress() 66 return dynamic_cast<const void*>(boost::addressof(x)); in subaddress() 70 static void* subaddress(T& x){return boost::addressof(x);} in subaddress() 73 static const void* subaddress(const T& x){return boost::addressof(x);} in subaddress()
|
/third_party/boost/boost/beast/core/detail/ |
D | bind_handler.hpp | 163 return asio_handler_invoke(f, std::addressof(op->h_)); in asio_handler_invoke() 172 std::addressof(op->h_)); in asio_handler_is_continuation() 182 size, std::addressof(op->h_)); in asio_handler_allocate() 192 p, size, std::addressof(op->h_)); in asio_handler_deallocate() 276 return asio_handler_invoke(f, std::addressof(op->h_)); in asio_handler_invoke() 285 std::addressof(op->h_)); in asio_handler_is_continuation() 295 size, std::addressof(op->h_)); in asio_handler_allocate() 305 p, size, std::addressof(op->h_)); in asio_handler_deallocate()
|
/third_party/boost/libs/beast/include/boost/beast/core/detail/ |
D | bind_handler.hpp | 163 return asio_handler_invoke(f, std::addressof(op->h_)); in asio_handler_invoke() 172 std::addressof(op->h_)); in asio_handler_is_continuation() 182 size, std::addressof(op->h_)); in asio_handler_allocate() 192 p, size, std::addressof(op->h_)); in asio_handler_deallocate() 276 return asio_handler_invoke(f, std::addressof(op->h_)); in asio_handler_invoke() 285 std::addressof(op->h_)); in asio_handler_is_continuation() 295 size, std::addressof(op->h_)); in asio_handler_allocate() 305 p, size, std::addressof(op->h_)); in asio_handler_deallocate()
|
/third_party/boost/boost/spirit/home/x3/support/traits/ |
D | move_to.hpp | 202 BOOST_ASSERT(boost::addressof(src) != boost::addressof(dest)); in move_to() 209 BOOST_ASSERT(boost::addressof(src) != boost::addressof(dest)); in move_to() 216 BOOST_ASSERT(boost::addressof(src) != boost::addressof(dest)); in move_to()
|