mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Add 'Introduced in Catch 2.7.1.' note
This commit is contained in:
		
				
					committed by
					
						
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			
						parent
						
							4511dc0c16
						
					
				
				
					commit
					53776a90cf
				
			@@ -96,6 +96,8 @@ scope and thus capturing references is dangerous. If you need to use
 | 
				
			|||||||
variables inside the generator expression, make sure you thought through
 | 
					variables inside the generator expression, make sure you thought through
 | 
				
			||||||
the lifetime implications and use `GENERATE_COPY` or `GENERATE_REF`.**
 | 
					the lifetime implications and use `GENERATE_COPY` or `GENERATE_REF`.**
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> `GENERATE_COPY` and `GENERATE_REF` were introduced in Catch 2.7.1.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You can also override the inferred type by using `as<type>` as the first
 | 
					You can also override the inferred type by using `as<type>` as the first
 | 
				
			||||||
argument to the macro. This can be useful when dealing with string literals,
 | 
					argument to the macro. This can be useful when dealing with string literals,
 | 
				
			||||||
if you want them to come out as `std::string`:
 | 
					if you want them to come out as `std::string`:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user