google / benchmark

A microbenchmark support library
Apache License 2.0
8.59k stars 1.57k forks source link

bump standard to C++14 #1799

Closed dmah42 closed 3 weeks ago

dmah42 commented 3 weeks ago

per the dependencies doc, we base our supported standards of the defaults available in compilers or a 10 year expiry from standard release. we just hit 10 years since C++14 release so that's our new base supported standard.

also updated the docs to align on this.

LebedevRI commented 3 weeks ago

We need to be actually enforcing them via a cmake-time checks though.

dmah42 commented 3 weeks ago

We need to be actually enforcing them via a cmake-time checks though.

given we now officially support C++14 for building as a minimum, maybe that's viable. it's hard to enumerate every version of every compiler, which is why the linked support doc focuses on standards and build systems.