Opened 8 years ago
Closed 8 years ago
#10218 closed Bugs (fixed)
variant::apply_visitor does not work with move-only return types
Reported by: | Owned by: | ebf | |
---|---|---|---|
Milestone: | To Be Determined | Component: | variant |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: | nknotts@… |
Description
Applying a visitor that returns a move-only type (such as std::unique_ptr<>) fails to compile.
Tested with clang 3.4 and gcc 4.8 on OS X.
Attachments (1)
Change History (2)
by , 8 years ago
comment:1 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This issue has been fixed in Boost 1.56
Note:
See TracTickets
for help on using tickets.
Minimal example of the issue