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

基础知识

  看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)详解

  

 

猜你喜欢

转载自www.cnblogs.com/mashuai-191/p/9836146.html