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: | 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 , 8 years ago
comment:2 by , 6 years ago
Milestone: | To Be Determined → Boost 1.63.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patches welcome. I invite you to send in a pull request to: https://github.com/boostorg/fusion