码迷,mamicode.com
首页 > 编程语言 > 详细

[面试 C++] 知识点查漏补缺

时间:2018-10-27 16:13:48      阅读:162      评论:0      收藏:0      [点我收藏+]

标签:com   targe   span   safe   out   class   with   read   场景   

 

基础知识

  看c++ primier (直接网上刷题)

一些关键字的作用的使用场景,static, protected, private

几种 cast 的区别

 

static_cast

For “well-behaved” and “reasonably well-behaved” casts, including things you might now do without a cast (such as an automatic type conversion).

const_cast

To cast away const and/orvolatile.

reinterpret_cast

To cast to a completely different meaning. The key is that you’ll need to cast back to the original type to use it safely. The type you cast to is typically used only for bit twiddling or some other mysterious purpose. This is the most dangerous of all the casts.

dynamic_cast

For type-safe downcasting (this cast will be described in Chapter 15).

virtual table, done

设计模式, singleton done

STL

google boost

multi-threaded

 

手写题

  c++中内存拷贝函数(C++ memcpy)详解

  

 

 

[面试 C++] 知识点查漏补缺

标签:com   targe   span   safe   out   class   with   read   场景   

原文地址:https://www.cnblogs.com/mashuai-191/p/9836146.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!