Modify

Opened 3 years ago

Closed 12 months 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.

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Joel de Guzman

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

comment:2 Changed 12 months ago by Kohei Takahashi

Milestone: To Be DeterminedBoost 1.63.0
Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Joel de Guzman.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.