首页
学习
活动
专区
工具
TVP
发布

C++核心准则原文翻译

专栏作者
465
文章
263985
阅读量
44
订阅数
自学鸿蒙应用开发(42)- 真机调试之开始调试
启动DevEcoStudio,打开File > Project Structure,在Modules>entry>Signing Configs > debug窗口中,配置指定模块的调试签名信息。
面向对象思考
2021-06-09
8950
C++核心准则SF.11​:头文件应该可以独立工作​
Usability, headers should be simple to use and work when included on their own. Headers should encapsulate the functionality they provide. Avoid clients of a header having to manage that header's dependencies.
面向对象思考
2020-10-30
3320
C++核心准则​CPL.2:如果你必须使用C,使用C和C++的共同子集,并且使用C++编译器编译C代码
CPL.2: If you must use C, use the common subset of C and C++, and compile the C code as C++
面向对象思考
2020-10-10
6600
C++核心准则​T.123:使用常量表达式函数在编译时求值
T.123: Use constexpr functions to compute values at compile time
面向对象思考
2020-09-28
6680
C++核心准则T.122:使用模板在编译时计算类型
T.122: Use templates (usually template aliases) to compute types at compile time
面向对象思考
2020-09-28
4220
C++核心准则T.120:只在确实有需要时使用模板元编程
T.120: Use template metaprogramming only when you really need to
面向对象思考
2020-09-28
4590
C++核心准则Con.5:对于可以在编译时计算的值,使用constexpr进行声明
Better performance, better compile-time checking, guaranteed compile-time evaluation, no possibility of race conditions.
面向对象思考
2020-08-18
5230
微信小程序的生命周期学习笔记-应用篇
在我们学习微信小程序的过程当中,我们会参考很多资料。在这些资料中,我们经常能够看到“生命周期”四个字,在前面的课程中也提到过。在这里做一个说明。
面向对象思考
2020-07-21
6680
C++核心准则Per.11:将计算从运行时移动到编译时
To decrease code size and run time. To avoid data races by using constants. To catch errors at compile time (and thus eliminate the need for error-handling code).
面向对象思考
2020-06-24
3710
在Ubuntu20.04环境中构建C++20开发环境(GCC11)
本文介绍在最新的Ubuntu20.04环境中编译最新的GCC编译器的方法。使用这个环境可以学习C++20新特性。
面向对象思考
2020-05-29
11.2K0
ARM C++交叉编译环境构建方法
接下来的说明以Ubuntu Desktop 19.10为例进行,18.04也没有问题。
面向对象思考
2020-03-25
3K0
用VisualStudio2019预览版体验C++20新功能
最近的连载中有很多内容涉及到C++20中的内容,例如concept等。但是由于C++20还属于新生事物,不仅可以参考的例子少,找到一个可以体验C++20功能的开发环境都困难。本文介绍使用微软VisualStudio2019预览版体验C++20新特性的方法。
面向对象思考
2020-03-25
6171
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档