forked from boostorg/fusion
Added move ctors for vector and deque (deque for gcc partially working for now)
no preprocessed files yet [SVN r80331]
This commit is contained in:
1 parent
16de1dcd01
commit
c8b47ca3ca
9 files changed
+159
-10
No files matched your search
@@ -106,6 +106,11 @@ namespace boost { namespace fusion
|
||||
vector(vector const& rhs)
|
||||
: vec(rhs.vec) {}
|
||||
|
||||
#if !defined(BOOST_NO_RVALUE_REFERENCES)
|
||||
vector(vector&& rhs)
|
||||
: vec(std::move(rhs.vec)) {}
|
||||
#endif
|
||||
|
||||
template <typename Sequence>
|
||||
vector(Sequence const& rhs)
|
||||
: vec(BOOST_FUSION_VECTOR_COPY_INIT()) {}
|
||||
|
||||
Reference in new issue
Block a user