mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-30 19:57:10 +01:00 
			
		
		
		
	Add missing struct Template_Fixture_2 so that the example compiles.
Code copied from projects/SelfTest/UsageTests/Class.tests.cpp
This commit is contained in:
		 Clare Macrae
					Clare Macrae
				
			
				
					committed by
					
						 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
						parent
						
							d5a69cd400
						
					
				
				
					commit
					8cd58f75ec
				
			| @@ -100,6 +100,13 @@ TEMPLATE_TEST_CASE_METHOD_SIG(Nttp_Fixture, "A TEMPLATE_TEST_CASE_METHOD_SIG bas | ||||
|     REQUIRE(Nttp_Fixture<V>::value > 0); | ||||
| } | ||||
|  | ||||
| template<typename T> | ||||
| struct Template_Fixture_2 { | ||||
|     Template_Fixture_2() {} | ||||
|  | ||||
|     T m_a; | ||||
| }; | ||||
|  | ||||
| template< typename T, size_t V> | ||||
| struct Template_Foo_2 { | ||||
|     size_t size() { return V; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user