mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Update documentation with changes from 7e4038d
				
					
				
			This commit is contained in:
		
				
					committed by
					
						
						Phil Nash
					
				
			
			
				
	
			
			
			
						parent
						
							7be258536e
						
					
				
				
					commit
					0aec06f4c3
				
			@@ -43,12 +43,13 @@ By default a console width of 80 is assumed but this can be controlled by defini
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	CATCH_CONFIG_NOSTDOUT
 | 
						CATCH_CONFIG_NOSTDOUT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Catch does not use ```std::cout``` and ```std::cerr``` directly but gets them from ```Catch::cout()``` and ```Catch::cerr()``` respectively. If the above identifier is defined these functions are left unimplemented and you must implement them yourself. Their signatures are:
 | 
					Catch does not use ```std::cout```, ```std::cerr``` and ```std::clog``` directly but gets them from ```Catch::cout()```, ```Catch::cerr()``` and ```Catch::clog``` respectively. If the above identifier is defined these functions are left unimplemented and you must implement them yourself. Their signatures are:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    std::ostream& cout();
 | 
					    std::ostream& cout();
 | 
				
			||||||
    std::ostream& cerr();
 | 
					    std::ostream& cerr();
 | 
				
			||||||
 | 
					    std::ostream& clog();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
This can be useful on certain platforms that do not provide ```std::cout``` and ```std::cerr```, such as certain embedded systems.
 | 
					This can be useful on certain platforms that do not provide the standard iostreams, such as certain embedded systems.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user