/*============================================================================= Copyright (C) 2016 Kohei Takahshi Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #include #include #include #include template void test_copy() { C src; C dst = src; (void)dst; } #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) template void test_move() { C src; C dst = std::move(src); (void)dst; } #endif template void test_all() { test_copy(); #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) test_move(); #endif } struct k1; struct k2; struct k3; struct k4; void test() { using namespace boost::fusion; test_all > > >(); test_all >, pair > >(); test_all, pair > > >(); test_all, pair >, pair > >(); test_all > > > >(); test_all > >, pair > >(); test_all, pair > > > >(); test_all, pair > >, pair > >(); test_all, pair > > > >(); test_all, pair > >, pair > >(); test_all, map, pair > > >(); test_all, map, pair >, pair > >(); } int main() { test(); return boost::report_errors(); }