Recent Posts

C++: typedef sees int* and int& as new types

less than 1 minute read

长久以来我就有这么一种理解:int * 其实可以做一种新类型。因为在函数的参数列表里,你把 int * 看做是一种新类型明显更容易理解些。但是我又不得不注意以下这个事实:

C++: enum

1 minute read

整理自 Thinking in C++。没啥特别好说的。

C: struct

less than 1 minute read

整理自 Thinking in C++。没啥特别好说的。