1 /*=============================================================================
2     Copyright (C) 2015 Kohei Takahshi
3 
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 ==============================================================================*/
7 #include <boost/fusion/container/list/list.hpp>
8 #include <boost/core/lightweight_test.hpp>
9 
10 #define FUSION_SEQUENCE boost::fusion::list
11 #include "nest.hpp"
12 
13 /* list has a few issues:
14     - sequence conversion constructor has bug when first element is a sequence
15     - assignment sequence conversion has bug in base class */
16 template <typename T>
17 struct skip_issues
18 {
19     template <typename Source, typename Expected>
operator ()skip_issues20     bool operator()(Source const& source, Expected const& expected) const
21     {
22         using namespace test_detail;
23         return
24             run< can_copy<T> >(source, expected) &&
25             run< can_construct_from_elements<T> >(source, expected);
26     }
27 };
28 
29 
30 int
main()31 main()
32 {
33     test<skip_issues>();
34     return boost::report_errors();
35 }
36 
37