|
CMakeTutorialStep1 2.3.12
|
| Nstd | |
| Chash< hash_Person > | |
| Ntutorial | |
| CPrice | 价格强类型(整型分),避免与 Quantity 静默混用 |
| CQuantity | 数量强类型(整型单位) |
| Cdi_MessageService | 依赖注入演示:持有 di_Printer 引用,不自行创建依赖。 |
| Cdi_Printer | 依赖注入演示:输出接口(构造函数注入进 di_MessageService)。 |
| Chash_Person | 人员结构 + std::hash 特化演示(自定义类型可入无序容器)。 |