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

Creating an xaxis<int> with an initializer list containing two strings #77

Open
martinRenou opened this issue May 3, 2018 · 0 comments

Comments

@martinRenou
Copy link
Member

Creating an xaxis<int, std::size_t> with an initializer list containing two strings compiles, but it shouldn't:

 xaxis<int, std::size_t> a = { "a", "b" };

apparently this line calls the xaxis constructor given two iterators, instead of the constructor given an initializer list

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