diff options
Diffstat (limited to 'libs/fusion/test/sequence/deque_move.cpp')
-rw-r--r-- | libs/fusion/test/sequence/deque_move.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libs/fusion/test/sequence/deque_move.cpp b/libs/fusion/test/sequence/deque_move.cpp new file mode 100644 index 0000000000..c1f126eb94 --- /dev/null +++ b/libs/fusion/test/sequence/deque_move.cpp @@ -0,0 +1,34 @@ +/*============================================================================= + Copyright (c) 2012 Joel de Guzman + + 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) +==============================================================================*/ +#define BOOST_FUSION_DONT_USE_PREPROCESSED_FILES // $$$ JDG temp $$$ + + +#include <boost/config.hpp> + +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) + +#include <boost/fusion/container/deque/deque.hpp> + +#define FUSION_SEQUENCE boost::fusion::deque<std::vector<x>> +#define FUSION_SEQUENCE2 boost::fusion::deque<std::vector<x>, x> + +#include "move.hpp" + +#else +#include <boost/detail/lightweight_test.hpp> +#endif + +int +main() +{ +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) + test(); +#endif + + return boost::report_errors(); +} + |