mirror of
				https://github.com/red0124/ssp.git
				synced 2025-10-31 05:06:46 +01:00 
			
		
		
		
	 69875c238e
			
		
	
	
		69875c238e
		
			
		
	
	
	
	
		
			
			* Resolve clang-tidy warnings, update single_header_generator.py * Update single header test, resolve additional clang-tidy warnings
		
			
				
	
	
		
			13 lines
		
	
	
		
			333 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			333 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| int main() {
 | |
|     using quote = ss::quote<'"'>;
 | |
|     using escape = ss::escape<'\\'>;
 | |
|     using trim = ss::trim<' '>;
 | |
| 
 | |
|     std::string data = "1,string,2.34,c";
 | |
| 
 | |
|     ss::parser<quote, escape, trim, ss::multiline> p{data.c_str(), data.size()};
 | |
|     auto tup = p.get_next<int, std::string, float, std::optional<char>>();
 | |
| 
 | |
|     return 0;
 | |
| }
 |