腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
C++核心准则原文翻译
专栏作者
举报
465
文章
264109
阅读量
44
订阅数
订阅专栏
申请加入专栏
全部文章(465)
c++(211)
编程算法(91)
https(60)
python(53)
网络安全(53)
gui(37)
linux(32)
es(18)
ide(17)
网站(13)
打包(12)
git(11)
github(11)
html(10)
开源(10)
function(9)
http(8)
express(7)
容器(7)
class(7)
this(7)
java(6)
javascript(6)
c#(6)
jquery ui(6)
access(6)
serverless(6)
缓存(6)
小程序(6)
node.js(5)
code(5)
object(5)
对象存储(4)
腾讯云测试服务(4)
gcc(4)
uml(4)
微信(4)
迁移(4)
auto(4)
behavior(4)
default(4)
error(4)
handle(4)
local(4)
types(4)
unsigned(4)
其他(3)
单片机(3)
数据库(3)
ubuntu(3)
数据分析(3)
腾讯云开发者社区(3)
constructor(3)
copy(3)
crash(3)
data(3)
exception(3)
exit(3)
list(3)
overflow(3)
templates(3)
thread(3)
using(3)
ios(2)
xml(2)
android(2)
sql(2)
eclipse(2)
api(2)
文件存储(2)
vr 视频解决方案(2)
underscore(2)
面向对象编程(2)
socket编程(2)
arguments(2)
bit(2)
bug(2)
constants(2)
containers(2)
declaration(2)
embedded(2)
goto(2)
implementation(2)
integer(2)
io(2)
it(2)
member(2)
modulo(2)
nested(2)
point(2)
reference(2)
scope(2)
sizeof(2)
time(2)
ui(2)
variables(2)
void(2)
布局(2)
事件(2)
通信(2)
php(1)
go(1)
actionscript(1)
css(1)
jquery(1)
json(1)
硬件开发(1)
unix(1)
apache(1)
图像处理(1)
存储(1)
ssh(1)
数据结构(1)
abstract(1)
add(1)
algorithm(1)
allocation(1)
arrays(1)
block(1)
break(1)
button(1)
case(1)
center(1)
character(1)
cin(1)
combinations(1)
comments(1)
compatibility(1)
compilation(1)
composition(1)
constraints(1)
container(1)
core(1)
cout(1)
debug(1)
delegates(1)
diagram(1)
division(1)
effects(1)
evaluation(1)
file(1)
flush(1)
grammar(1)
heap(1)
image(1)
implicit(1)
indentation(1)
input(1)
int(1)
interface(1)
line(1)
literals(1)
lock(1)
matrix(1)
media(1)
memory(1)
message(1)
monitor(1)
mutex(1)
namespaces(1)
operators(1)
output(1)
overloading(1)
parentheses(1)
pointers(1)
pool(1)
private(1)
project(1)
protected(1)
range(1)
require(1)
reset(1)
rules(1)
sharing(1)
size(1)
slice(1)
src(1)
surface(1)
table(1)
typedef(1)
undefined(1)
unique(1)
view(1)
zero(1)
地图(1)
定时器(1)
接口(1)
异步(1)
语法(1)
指针(1)
搜索文章
搜索
搜索
关闭
C++核心准则讨论:使用模板来表达容器(和其他资源句柄)
express
To provide statically type-safe manipulation of elements.
面向对象思考
2020-12-31
253
0
C++核心准则T.3:使用模板表现容器和范围
express
c++
容器
Containers need an element type, and expressing that as a template argument is general, reusable, and type safe. It also avoids brittle or inefficient workarounds. Convention: That's the way the STL does it.
面向对象思考
2020-08-27
232
0
C++核心准则T.2:使用模板表现可以适用于多种参数类型的算法
express
c++
编程算法
Generality. Minimizing the amount of source code. Interoperability. Reuse.
面向对象思考
2020-08-27
639
0
C++核心准则E.19:如果无法选择适当的资源句柄,使用final_action表现清除处理
github
https
express
git
开源
finally is less verbose and harder to get wrong than try/catch.
面向对象思考
2020-08-10
514
0
C++核心准则R.36: 使用const shared_ptr<widget>&类型参数表示可能持有一个对象的引用计数
网站
c++
express
编程算法
R.36: 使用const shared_ptr<widget>&类型参数表示可能持有一个对象的引用计数。
面向对象思考
2020-04-14
995
0
C++核心准则R.33: 表达函数会重置widget时,使用unique_ptr<widget>&作参数
网站
express
R.33: 表达函数会重置widget时,使用unique_ptr<widget>&作参数。
面向对象思考
2020-04-14
461
0
C++核心准则R.32: 通过unique_ptr<widget>类型参数表示函数试图获取widget的所有权
网站
express
R.32: 通过unique_ptr<widget>类型参数表示函数试图获取widget的所有权
面向对象思考
2020-04-14
550
0
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
立即发文
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档