1 | |
---|---|
2 | // (C) Copyright Edward Diener 2011 |
3 | // Use, modification and distribution are subject to the Boost Software License, |
4 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
5 | // http://www.boost.org/LICENSE_1_0.txt). |
6 | |
7 | #include "test_vm_has_template_cp.hpp" |
8 | #include <boost/mpl/assert.hpp> |
9 | |
10 | int main() |
11 | { |
12 | |
13 | #if BOOST_PP_VARIADICS |
14 | |
15 | // Wrong enclosing type |
16 | |
17 | BOOST_MPL_ASSERT((HaveCL<AnotherType>)); |
18 | |
19 | #else |
20 | |
21 | BOOST_MPL_ASSERT((boost::mpl::false_)); |
22 | |
23 | #endif // BOOST_PP_VARIADICS |
24 | |
25 | return 0; |
26 | |
27 | } |
28 |