3 ms·
every function where you are reading from a string without writing to it or saving it, you can use std::string_view. Same for vector / array: anything non-ownin
by jcelerier 5y ago
every function where you are reading from a string without writing to it or saving it, you can use std::string_view. Same for vector / array: anything non-owning, read-only should use std::span instead.