C++20 Port #5
| @ -22,7 +22,7 @@ export namespace core { | |||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		template<usize text_size> constexpr path(char const(&text)[text_size]) : path{} { | 		template<usize text_size> constexpr path(char const(&text)[text_size]) : path{} { | ||||||
| 			static_assert(text_size <= max, "path cannot be longer than maximum length"); | 			static_assert(text_size <= max); | ||||||
| 
 | 
 | ||||||
| 			for (usize i = 0; i < text_size; i += 1) this->buffer[i] = text[i]; | 			for (usize i = 0; i < text_size; i += 1) this->buffer[i] = text[i]; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user