Google样式指南“< chrono>是未经批准的C ++ 11标头" [英] Google Style Guide "<chrono> is an unapproved C++11 header"

查看:707
本文介绍了Google样式指南“< chrono>是未经批准的C ++ 11标头"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么<chrono>是Google CPP指南中未经批准的标题?我在 Google CPP样式指南中找不到直接提及的内容. 这一点提到了<ratio><cfenv>的可移植性问题,但是关于<chrono>没什么.

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

推荐答案

根据 C ++ 11在Chromium中使用原因是

base/中重复的Time API.继续使用base/类.

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

这篇关于Google样式指南“&lt; chrono&gt;是未经批准的C ++ 11标头"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆