light-city
dfe1c933b3
docs: address community issue feedback ( #5 #338 #142 #246 #136 #303 )
...
- 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
2026-10-13 19:23:54 +08:00
zhangxing
3c8a3f259b
support bazel complie this project and format code.
2024-03-30 22:00:55 +08:00
Not-envious-of-immortals
8cdadc9611
修改模板特化代码bug
2023-02-07 03:23:17 +00:00
tracyxiong1
368eda305f
feat: 统一 cpp 文件编码格式为 utf-8
2023-01-02 20:39:00 +08:00
Francis
ade7173887
Merge pull request #233 from Falling-in-W-sweetty/patch-4
...
Update 12-9.cpp
2022-10-28 15:35:14 +08:00
Francis
bc2fb78344
Merge pull request #234 from Falling-in-W-sweetty/patch-5
...
Update day10 cpp file
2022-10-28 15:34:44 +08:00
Falling-in-W-sweetty
374867b3f0
Update 计数器前后自增.cpp
2022-08-14 16:19:12 +08:00
Falling-in-W-sweetty
3e5bb2543b
Update get(a,size)12-2-1.cpp
2022-08-14 13:48:11 +08:00
Falling-in-W-sweetty
4b0ba90862
Update 12-9.cpp
2022-08-14 11:25:49 +08:00
Francis
dcc63ea68e
Merge pull request #185 from ReJimp/patch-1
...
Update practical_exercises/10_day_practice/day6/虚函数/编程实例.cpp
2022-04-10 16:43:40 +08:00
Francis
c2fbda3137
Merge pull request #161 from dangwi/master
...
Fix issue #159
2022-04-10 16:34:30 +08:00
Francis
c7ed2fcbcd
Merge pull request #168 from alarak233/patch-1
...
Update 2.友元运算符实现.cpp
2022-04-10 16:33:11 +08:00
Francis
47397be663
Merge pull request #206 from CYP12138/master
...
编译器优化sizeof,private继承访问权限更改
2022-04-10 16:28:10 +08:00
Francis
f2e5dd0d34
Merge pull request #207 from zhkgo/patch-2
...
Update 重要.cpp
2022-04-10 16:25:47 +08:00
Francis
f4a97d840a
Merge pull request #104 from congjiye/master
...
[fix] Rename 是否闰年`.cpp to 是否闰年.cpp
2022-04-10 16:24:55 +08:00
zhkgo
bdde117539
Update 重要.cpp
...
赋值运算符重载拷贝的dest和src反了
2022-03-18 17:08:48 +08:00
CYP12138
c0d76f164d
编译器优化sizeof,private继承访问权限更改
2022-03-16 18:05:59 +08:00
zhkgo
75a7691610
Update 重载++的时钟.cpp
...
修复了++的时候判断时使用if(second=60)的bug,增加了后缀形式的++重载,完善了++的返回值。
2022-03-02 14:05:51 +08:00
Jimp
221daa9bb2
Update 编程实例.cpp
2021-12-11 13:47:34 +08:00
alarak233
9fd6cbc766
Update 2.友元运算符实现.cpp
...
重载*时缺少return。。。
2021-09-22 13:43:27 +08:00
Brook-Hsu
6b3adbccbe
修复重载--运算符的bug
2021-09-03 20:55:57 +08:00
Brook-Hsu
4ce9ef2078
Fix issue #159
2021-09-03 20:52:24 +08:00
aydon
b9780d5702
[fix] Rename 是否闰年`.cpp to 是否闰年.cpp
2020-12-15 14:58:25 +08:00
Francis
ec13886a22
Merge pull request #75 from techkang/patch-2
...
Update 重要.cpp
2020-10-17 08:56:06 +08:00
Francis
51926c2ba2
Merge pull request #77 from techkang/patch-1
...
combine error handler with virtual function.
2020-10-17 08:55:30 +08:00
Francis
afe899f3b0
Merge pull request #78 from daidai21/master
...
DEBUG 函数模板 sort() 错误 ISSUE #73
2020-10-17 08:54:30 +08:00
Francis
badf4d86c5
Update 私有继承.cpp
2020-10-12 11:21:18 +08:00
hu.fwh
0b1fdbfb8f
DEBUG 函数模板 sort() 错误 ISSUE #73
2020-09-10 00:47:38 +08:00
kang sheng
db2f1c3d91
combine error handler with virtual function.
2020-09-09 20:52:33 +08:00
kang sheng
1253b343a5
Update 重要.cpp
...
Implement some api which not implemented.
2020-09-09 19:51:01 +08:00
GongXiangShun
f03eafdfe8
Update 例1.cpp
2020-07-28 10:34:30 +08:00
Aurelius84
9e1c3a9abd
Reformat code and add cJSON_print function
2020-06-08 20:34:54 +08:00
Aurelius84
d3912107c4
fix comment error and polish cout str
2020-05-25 09:59:33 +08:00
Francis
b450eee075
Update readme.md
2020-04-24 15:42:11 +08:00
Francis
d3017d2b1e
Update readme.md
2020-04-24 15:41:55 +08:00
Light-City
1697662c6a
update
2020-04-06 01:08:37 +08:00
Light-City
a4d828bb4c
update
2020-04-06 00:57:02 +08:00