xframe
xframe copied to clipboard
Creating an xaxis<int> with an initializer list containing two strings
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