Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding assignment from anything #20

Open
ldionne opened this issue Apr 20, 2017 · 0 comments
Open

Consider adding assignment from anything #20

ldionne opened this issue Apr 20, 2017 · 0 comments

Comments

@ldionne
Copy link
Owner

ldionne commented Apr 20, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant