Opened 6 years ago
Last modified 6 years ago
#12352 new Bugs
factory object fails to be assigned to function object when deducing constructor argument (C++11 only)
Reported by: | Owned by: | No-Maintainer | |
---|---|---|---|
Milestone: | To Be Determined | Component: | functional |
Version: | Boost 1.61.0 | Severity: | Problem |
Keywords: | Cc: |
Description
When assigning a constructed boost::factory to a boost::function and having the factory template automatically deduce the constructor parameter, it fails to build in C++11, but not C++98.
I used g++ 5.4.0 on Linux, x86-64.
I'm attaching both my minimal test program and the error output.
Attachments (2)
Change History (3)
by , 6 years ago
Attachment: | boost_factory_bug.cpp added |
---|
comment:1 by , 6 years ago
Forgot to mention: I'm using the current master to test: 415be65eaebf70d7e007fe8a74802943db91a102. This also happens with 1.60.0.
Note:
See TracTickets
for help on using tickets.
Minimal test case program