Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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>.

like image 296
paul-g Avatar asked Nov 11 '15 15:11

paul-g


1 Answers

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

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

like image 65
NathanOliver Avatar answered Nov 16 '22 03:11

NathanOliver