Avoid using inheriting constructors and initializer_list::cbegin/cend to be nicer with older compilers

This commit is contained in:
Ion Gaztañaga
2021-01-01 23:44:56 +01:00
parent 6c23ce8b42
commit 621cd3a0ab
2 changed files with 16 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ void print_range(std::ostream& out, Iterator b, Iterator e)
template <typename Range>
void print_range(std::ostream& out, const Range& range)
{
print_range(out, range.cbegin(), range.cend());
print_range(out, range.begin(), range.end());
}
template <typename Array, std::size_t N>