From a828b34d1404cdb6c01bd834898e4596eca11768 Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Fri, 3 Jul 2020 10:13:12 +0200 Subject: [PATCH] Pull in the right symbols --- tests/std/include/range_algorithm_support.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/std/include/range_algorithm_support.hpp b/tests/std/include/range_algorithm_support.hpp index b02043749a9..e1ab3856f01 100644 --- a/tests/std/include/range_algorithm_support.hpp +++ b/tests/std/include/range_algorithm_support.hpp @@ -637,6 +637,7 @@ struct with_contiguous_ranges { template static constexpr void call() { using namespace test; + using test::range; // Ditto always Eq; !IsSized && SizedSentinel is uninteresting (ranges::size still works), as is // !IsSized && IsCommon. contiguous also implies !Proxy. @@ -658,6 +659,7 @@ struct with_random_ranges { template static constexpr void call() { using namespace test; + using test::range; // Ditto always Eq; !IsSized && SizedSentinel is uninteresting (ranges::size works either way), as is // !IsSized && IsCommon. @@ -691,6 +693,7 @@ struct with_bidirectional_ranges { template static constexpr void call() { using namespace test; + using test::range; // Ditto always Eq; !IsSized && Diff is uninteresting (ranges::size still works). Continuation::template call static constexpr void call() { using namespace test; + using test::range; // forward always has Eq; !IsSized && Diff is uninteresting (sized_range is sized_range). Continuation::template call static constexpr void call() { using namespace test; + using test::range; // For all ranges, IsCommon implies Eq. // For single-pass ranges, Eq is uninteresting without IsCommon (there's only one valid iterator @@ -812,6 +817,7 @@ struct with_output_ranges { template static constexpr void call() { using namespace test; + using test::range; // For all ranges, IsCommon implies Eq. // For single-pass ranges, Eq is uninteresting without IsCommon (there's only one valid iterator @@ -861,6 +867,7 @@ struct with_input_iterators { template static constexpr void call() { using namespace test; + using test::iterator; // IsSized and Eq are not significant for "lone" single-pass iterators, so we can ignore them here. Continuation::template call