1 /*
2 Copyright 2018 Glen Joseph Fernandes
3 ([email protected])
4 
5 Distributed under the Boost Software License, Version 1.0.
6 (http://www.boost.org/LICENSE_1_0.txt)
7 */
8 #include <boost/align/aligned_allocator.hpp>
9 
10 struct S;
11 struct V { };
12 
value_test()13 void value_test()
14 {
15     boost::alignment::aligned_allocator<S> a;
16     (void)a;
17 }
18 
rebind_test()19 void rebind_test()
20 {
21     boost::alignment::aligned_allocator<V> a;
22     boost::alignment::aligned_allocator<V>::rebind<S>::other r(a);
23     (void)r;
24 }
25