1 #define BOOST_TEST_MODULE (Tests setPtr customization) 2 #include "boost/test/unit_test.hpp" 13 using impl = std::vector<T>;
26 struct customization_honored {};
27 auto always_true = [](customization_honored) {
return true; };
39 std::type_info
const&,
43 throw customization_honored{};
49 std::type_info
const&,
50 std::vector<unsigned long>
const&,
51 std::vector<void const*>&)
53 throw customization_honored{};
57 BOOST_AUTO_TEST_SUITE(ptr_customizations_t)
63 customization_honored,
71 customization_honored,
75 BOOST_AUTO_TEST_SUITE_END()
typename impl::const_iterator const_iterator
void getElementAddresses(collection< T > const &, std::type_info const &, std::vector< unsigned long > const &, std::vector< void const * > &)
const_iterator cbegin() const
BOOST_AUTO_TEST_CASE(setPtr_t)
typename impl::value_type value_type
std::vector< void const * > getElementAddresses(std::type_info const &toType, std::vector< unsigned long > const &indices) const
void setPtr(collection< T > const &, std::type_info const &, unsigned long, void const *&)
void const * getElementAddress(std::type_info const &toType, unsigned long index) const