mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Improve documentation of CATCH_MOVE and CATCH_FORWARD
This commit is contained in:
		| @@ -10,10 +10,10 @@ | ||||
|  | ||||
| #include <type_traits> | ||||
|  | ||||
| //! TODO: replaces std::move for better performance | ||||
| //! Replacement for std::move with better compile time performance | ||||
| #define CATCH_MOVE(...) static_cast<std::remove_reference_t<decltype(__VA_ARGS__)>&&>(__VA_ARGS__) | ||||
|  | ||||
| //! Replacement for std::forward with better compile time performance | ||||
| #define CATCH_FORWARD(...) static_cast<decltype(__VA_ARGS__)&&>(__VA_ARGS__) | ||||
|  | ||||
| #endif // CATCH_MOVE_AND_FORWARD_HPP_INCLUDED | ||||
|          | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský