Searched refs:RangeWithCounting (Results 1 – 2 of 2) sorted by relevance
46 struct RangeWithCounting { struct52 …constexpr RangeWithCounting(int& copies_ctr, int& moves_ctr) : times_copied(&copies_ctr), times_mo… in RangeWithCounting() argument54 constexpr RangeWithCounting(const RangeWithCounting& rhs) in RangeWithCounting() function58 …constexpr RangeWithCounting(RangeWithCounting&& rhs) : times_copied(rhs.times_copied), times_moved… in RangeWithCounting() function65 constexpr RangeWithCounting& operator=(const RangeWithCounting&) = default; argument66 constexpr RangeWithCounting& operator=(RangeWithCounting&&) = default;67 constexpr bool operator==(const RangeWithCounting&) const { return true; } in operator ==() argument69 static_assert(std::ranges::forward_range<RangeWithCounting>);70 static_assert(!std::ranges::view<RangeWithCounting>);130 using Range = RangeWithCounting; in test()
50 struct RangeWithCounting : Counting { struct56 constexpr bool operator==(const RangeWithCounting&) const { return true; } in operator ==() argument58 static_assert(std::ranges::forward_range<RangeWithCounting>);59 static_assert(!std::ranges::view<RangeWithCounting>);117 using Range = RangeWithCounting; in test()