Ticket #10099 (closed Feature Requests: fixed)

Opened 3 years ago

Last modified 7 months ago

BOOST_FUSION_DEFINE_STRUCT prevents move constructor and move assignments

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


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

comment:1 Changed 3 years ago by djowel

Patches welcome. I invite you to send in a pull request to:

comment:2 Changed 7 months ago by takahashi

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from To Be Determined to Boost 1.63.0

Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

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

Note: See TracTickets for help on using tickets.