21#include <boost/test/unit_test.hpp>
29std::align_val_t
al_{};
31struct alignas(64)
Foo :
RefCount<Foo, ThreadUnsafePolicy> {
33 static void*
operator new(std::size_t
size, std::align_val_t
al)
37 return ::operator
new(
size,
al);
39 static void operator delete(
void* ptr, std::size_t
size, std::align_val_t
al)
noexcept
43#if __cpp_sized_deallocation
BOOST_AUTO_TEST_CASE(AllocatorCase)
BOOST_CHECK_EQUAL(v.size(), 10U)