Consider adding assignment from anything
ldionne opened this issue · 0 comments
ldionne commented
Basically, template <typename T> poly::operator=(T&& t)
. However, this suffers from possible problems when constructing with a possibly-throwing move constructor, which could cause poly
to be in some kind of empty state. We have to think about this, because I'd rather not introduce an implicit "empty" state to poly
.