xframe icon indicating copy to clipboard operation
xframe copied to clipboard

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

Open martinRenou opened this issue 7 years ago • 0 comments

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

martinRenou avatar May 03 '18 09:05 martinRenou