Google Style Guide "<chrono> is an unapproved C++11 header"

paul-g picture paul-g · Nov 11, 2015 · Viewed 7.2k times · Source

Why is <chrono> an unapproved header in the Google CPP Guide? I can't find any direct mention of this in the Google CPP Style Guide. This point mentions portability issues with <ratio> and <cfenv> but nothing about <chrono>.

Answer

NathanOliver picture NathanOliver · Nov 11, 2015

According to C++11 use in Chromium The reason is

Duplicated Time APIs in base/. Keep using the base/ classes.