Make ranges-test available with C++11 (#2114)

* make ranges-test available with C++11, fix problem with some gcc versions

* potentially fix build for MSVC 19.10, a bit reorganizing in test
This commit is contained in:
Alexey Ochapov
2021-01-30 18:42:58 +03:00
committed by GitHub
parent b0b56b4379
commit 2a25e2bf4d
3 changed files with 99 additions and 89 deletions

View File

@@ -368,7 +368,7 @@ template <typename Char, typename... T> struct tuple_arg_join : detail::view {
basic_string_view<Char> sep;
tuple_arg_join(const std::tuple<T...>& t, basic_string_view<Char> s)
: tuple{t}, sep{s} {}
: tuple(t), sep{s} {}
};
template <typename Char, typename... T>