mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Introduce "C-namespaced" UDL for StringRef
This commit is contained in:
		| @@ -127,4 +127,8 @@ namespace Catch { | ||||
|  | ||||
| } // namespace Catch | ||||
|  | ||||
| inline auto operator "" _catch_sr( char const* rawChars, std::size_t size ) noexcept -> Catch::StringRef { | ||||
|     return Catch::StringRef( rawChars, size ); | ||||
| } | ||||
|  | ||||
| #endif // CATCH_STRINGREF_H_INCLUDED | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský