Using StringView instead of C strings is basically always preferable. The only reason to use a C string is because you are calling a C API. |
||
|---|---|---|
| .. | ||
| Benchmark.cpp | ||
| CMakeLists.txt | ||
| Regex.cpp | ||
| RegexLibC.cpp | ||
Using StringView instead of C strings is basically always preferable. The only reason to use a C string is because you are calling a C API. |
||
|---|---|---|
| .. | ||
| Benchmark.cpp | ||
| CMakeLists.txt | ||
| Regex.cpp | ||
| RegexLibC.cpp | ||