Opened 11 years ago

#6300 new Feature Requests

c++11: Provide move semantic for tuple class and factory functions

Reported by: viboes Owned by: Joel de Guzman
Milestone: To Be Determined Component: fusion
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

Provide a c++11 move semantic compliant tuple class and factory functions on compilers supporting rvalue references.

On C++03 compilers use the Boost.Move emulation.

20.4.2 Class template tuple

template <class... UTypes>
explicit tuple(UTypes&&...);
tuple(tuple&&) = default;
template <class... UTypes> tuple(tuple<UTypes...>&&);
template <class U1, class U2>
tuple(pair<U1, U2>&&);
tuple& operator=(tuple&&) noexcept;
template <class... UTypes> tuple& operator=(tuple<UTypes...>&&);
template <class U1, class U2> tuple& operator=(pair<U1, U2>&&) noexcept;

Change History (0)

Note: See TracTickets for help on using tickets.