]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/test/sequence/vector_traits.cpp
1 /*=============================================================================
2 Copyright (C) 2016 Lee Clagett
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
8 #include <boost/detail/lightweight_test.hpp>
9 #include <boost/fusion/container/list.hpp>
10 #include <boost/fusion/container/vector.hpp>
12 #define FUSION_SEQUENCE boost::fusion::vector
13 #define FUSION_ALT_SEQUENCE boost::fusion::list
17 test_convertible(true /* has conversion construction */ );
19 // C++11 models overly aggressive (bug) implicit conversion from C++03
22 boost::fusion::list
<int>
23 , boost::fusion::vector
< boost::fusion::list
<int> >
27 #if defined(FUSION_TEST_HAS_CONSTRUCTIBLE)
31 return boost::report_errors();