2
0
mirror of https://github.com/boostorg/align.git synced 2026-01-30 19:32:08 +00:00
Files
align/test/aligned_allocator_incomplete_test.cpp
2018-11-26 20:07:11 -05:00

23 lines
404 B
C++

/*
Copyright 2018 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/align/aligned_allocator.hpp>
struct S;
void value_test()
{
boost::alignment::aligned_allocator<S> a;
(void)a;
}
void rebind_test()
{
boost::alignment::aligned_allocator<int>::rebind<S>::other a;
(void)a;
}