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

implicit, explicit, named conversions when dealing with emplacement #7

Open
mwinterb opened this issue Sep 27, 2017 · 0 comments
Open

Comments

@mwinterb
Copy link

This is likely contentious, but in the guidelines table, should how the conversion interacts with emplacement in containers (and optional and variant) be considered for explicit vs named conversion function?
i.e.

vector<nanoseconds> v;
v.emplace_back(5);

Is that a desirable compilation for your class?

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