Ch10-C++ 之 memory_order
April 20, 2023
std::memory_order。
std::memory_order。
std::unique_ptr,std::shared_ptr,std::weak_ptr。
lvalue reference,lvalue reference。
virtual
static_cast,dynamic_cast,const_cast,reinterpret_cast。
new,delete
define,typedef,using,inline
static,const,constexpr,volatile
1.数据类型 # 基本类型 所占大小 (bit) 最小范围 最大范围 void 0 bool 8 char 8 -128 127 unsigned char 8 0 255 short (signed short) 16 -32768 32767 unsigned short 16 0 65535 int (signed int) 32 -2147483648 2147483647 unsigned (unsigned int) 32 0 4294967295 long (signed long) 32 -2147483648 2147483647 unsigned long 32 0 4294967295 float 32 -3.4×10^38 3.4*10^38 double 64 -1.7×10^308 1.7×10^308 long double 64 -1.7×10^308 1.7×10^308 long long 64 -9223372036854775808 9223372036854775807 2. ...
内存模型就是一种语言它独特的管理者一套程序的机制,每种语言都有自己的一套程序机制。
...