10 #define BOOST_TEST_MODULE ( ContainerMeta_test )
11 #include <boost/test/unit_test.hpp>
20 #include <type_traits>
122 static_assert(std::is_same_v<
util::collection_reference_t<std::reference_wrapper<std::list<O>> >, std::reference_wrapper<std::list<O> >>);
138 constexpr std::size_t Size = 10U;
142 std::list<O>
list {{
O{} }};
146 O const*
const cptrc = ptr;
147 O const*
const& cptrcr = cptrc;
148 auto refw = std::ref(
list);
149 auto crefw = std::cref(
list);
150 auto const uptr = std::unique_ptr<O>(
new O[Size]);
151 auto array_uptr = std::unique_ptr<O[Size]>();
152 auto garray_uptr = std::unique_ptr<O[]>(
new O[Size]);
184 constexpr std::size_t Size = 10U;
188 std::list<O>
list {{
O{} }};
189 std::list<O> & ref =
list;
190 std::list<O>
const& cref =
list;
191 auto refw = std::ref(
list);
192 auto crefw = std::cref(
list);
198 auto const uptr = std::unique_ptr<O>(
new O[Size]);
199 auto array_uptr = std::unique_ptr<O[Size]>();
200 auto const array_uptrc = std::unique_ptr<O[Size]>();
201 auto garray_uptr = std::unique_ptr<O[]>(
new O[Size]);
then echo ***************************************echo array