/*============================================================================= Copyright (C) 2015 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 #define FUSION_SEQUENCE boost::fusion::deque #include "nest.hpp" /* deque has a few issues: - sequence conversion constructor is explicit - assignment sequence conversion has bug in base class - c++11 direct assignment from lvalue has bug */ template struct skip_issues { template bool operator()(Source const& source, Expected const& expected) const { using namespace test_detail; return #if defined(BOOST_FUSION_HAS_VARIADIC_DEQUE) run< can_construct >(source, expected) && run< can_implicit_construct >(source, expected) && run< can_rvalue_assign >(source, expected) && run< can_convert_using::to >(source, expected) && #else run< can_copy >(source, expected) && #endif run< can_construct_from_elements >(source, expected); } }; int main() { test(); return boost::report_errors(); }