Opened 6 years ago
Closed 6 years ago
#12622 closed Bugs (wontfix)
static_vector and operator= in C++03
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | container |
Version: | Boost 1.62.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Hello,
it appears that ticket 9932 may not have been completely fixed:
#include <boost/container/static_vector.hpp>
class NT {
boost::container::static_vector<int, 4> m;
};
void f(NT&a, NT const&b){
a=b;
}
This fails to compile in C++03 mode with both clang++ and g++.
Note:
See TracTickets
for help on using tickets.
This is a known limitation of the Move emulation:
http://www.boost.org/doc/libs/1_62_0/doc/html/container/known_issues.html#container.known_issues.move_emulation_limitations