google / benchmark

A microbenchmark support library
Apache License 2.0
8.69k stars 1.59k forks source link

Convert uses of `const char*` to `std::string` #1567

Closed dmah42 closed 1 year ago

HFTrader commented 1 year ago

I'm in love with std::string_view but I guess C++17 is not yet standard?

dmah42 commented 1 year ago

I'm in love with std::string_view but I guess C++17 is not yet standard?

https://opensource.google/documentation/policies/cplusplus-support

if all supported compilers use C++17 as default then we can drop C++14.

having said that, we've tried to keep the public header as backwards compatible as possible, even if we build the rest of the library with newer standards.