Opened 8 years ago

Closed 6 years ago

#10099 closed Feature Requests (fixed)

BOOST_FUSION_DEFINE_STRUCT prevents move constructor and move assignments

Reported by: maxim.yegorushkin@… Owned by: Joel de Guzman
Milestone: Boost 1.63.0 Component: fusion
Version: Boost 1.55.0 Severity: Optimization
Keywords: Cc:

Description

BOOST_FUSION_DEFINE_STRUCT implements the copy constructor and copy assignment that prevent the compiler from generating the default versions of the move constructor and move assignment.

In C++11 mode BOOST_FUSION_DEFINE_STRUCT family of macros should probably use C++11 "default" keyword to let the compiler implement the copy and move constructors and assignments.

Change History (2)

comment:1 by Joel de Guzman, 8 years ago

Patches welcome. I invite you to send in a pull request to: https://github.com/boostorg/fusion

comment:2 by Kohei Takahashi, 6 years ago

Milestone: To Be DeterminedBoost 1.63.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.