Added move ctors for vector and deque (deque for gcc partially working for now)

[SVN r80330]
This commit is contained in:
Joel de Guzman
2012-08-31 14:32:08 +00:00
parent 038976991e
commit 16de1dcd01
5 changed files with 183 additions and 1 deletions

View File

@ -0,0 +1,32 @@
/*=============================================================================
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_RVALUE_REFERENCES)
#include <boost/fusion/container/deque/deque.hpp>
#define FUSION_SEQUENCE boost::fusion::deque
#include "move.hpp"
#else
#include <boost/detail/lightweight_test.hpp>
#endif
int
main()
{
#if !defined(BOOST_NO_RVALUE_REFERENCES)
test();
#endif
return boost::report_errors();
}