feat: make a matcher ElementsAreArray applicable for std ranges
This commit is contained in:
		
				
					committed by
					
						
						Vasilii POchkaenko
					
				
			
			
				
	
			
			
			
						parent
						
							ae8d1fc81b
						
					
				
				
					commit
					5ef9f63a72
				
			@@ -3527,8 +3527,8 @@ inline internal::ElementsAreArrayMatcher<T> ElementsAreArray(
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
template <typename Container>
 | 
			
		||||
inline internal::ElementsAreArrayMatcher<typename Container::value_type>
 | 
			
		||||
ElementsAreArray(const Container& container) {
 | 
			
		||||
inline auto ElementsAreArray(const Container& container)
 | 
			
		||||
    -> decltype(ElementsAreArray(container.begin(), container.end())) {
 | 
			
		||||
  return ElementsAreArray(container.begin(), container.end());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user