mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-11-02 05:14:35 +08:00
- const README: rewrite the space-saving claim per issue #5 follow-ups (constant-expression const vs #define immediates; which const qualify as constant expressions) - const README: fix the class-section diagnosis per issue #338 (overload resolution picks the const overload; the restriction only surfaces once that overload is removed) - sizeof README: virtual-inheritance result is compiler-dependent (GCC merges vbptr+vfptr -> 16, MSVC keeps them separate -> 32) #246 - static README: new section on internal linkage / access restriction with anonymous-namespace comparison #142 - 10-day practice: full problem list table + fixed day links #136 - new design_pattern/singleton/singleton_default.hpp: reusable thread-safe CRTP singleton template, compile+concurrency tested #303
845 B
845 B
来自 C++那些事网站 的文章,由站点同步脚本导出。
编译与运行指南
1.下载
安装好git,使用下面命令:
git clone git@github.com:Light-City/CPlusPlusThings.git
2.编译环境
3.编译本项目
方式一: vscode + bazel
方式二: 免开发环境docker
docker pull xingfranics/cplusplusthings:latest
方式三: gcc/g++