mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	added cpp to another code block in docs
This commit is contained in:
		| @@ -15,7 +15,7 @@ Most built-in or std types are supported out of the box but there are two ways t | |||||||
|  |  | ||||||
| This is the standard way of providing string conversions in C++ - and the chances are you may already provide this for your own purposes. If you're not familiar with this idiom it involves writing a free function of the form: | This is the standard way of providing string conversions in C++ - and the chances are you may already provide this for your own purposes. If you're not familiar with this idiom it involves writing a free function of the form: | ||||||
|  |  | ||||||
| ``` | ```cpp | ||||||
| std::ostream& operator << ( std::ostream& os, T const& value ) { | std::ostream& operator << ( std::ostream& os, T const& value ) { | ||||||
|     os << convertMyTypeToString( value ); |     os << convertMyTypeToString( value ); | ||||||
|     return os; |     return os; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Phil nash
					Phil nash