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
Francis
a8bfbf737e
fix: correct inheritance typo in sizeof example
...
Fix typo where C1 should inherit from A1 instead of A
2026-03-12 23:46:47 +08:00
light-city
cbb7ba3269
fix: add C-style cast for const pointer assignment
...
Fixes Light-City/CPlusPlusThings#362
2026-03-12 23:32:35 +08:00
Eric Zeng
136499a30d
fix typo
2025-05-24 22:54:53 -04:00
light-city
7a194546a1
fix syntax for warn_rtti
2024-03-30 22:46:54 +08:00
zhangxing
3c8a3f259b
support bazel complie this project and format code.
2024-03-30 22:00:55 +08:00
Francis
c68db8a229
Merge pull request #259 from stoody-dev/master
...
Issue #255 fixed
2023-02-22 16:12:30 +08:00
laialaodi
9fdc5f327b
fix #258 and #260
2023-02-02 10:56:19 +08:00
stoody-dev
eba59f8400
Issue #255 fixed
2023-02-01 23:41:18 +05:30
Francis
f82d3d814a
Merge pull request #245 from slk000/master
...
doc is not consistent with code in vptr_vtable
2023-01-03 16:33:44 +08:00
卓修武
06d0207cf4
fix typo error
2022-12-23 00:14:58 +08:00
slk000
f6994de797
doc is not consistent with code in vptr_vtable
2022-11-23 18:03:52 +08:00
Francis
bed57715ef
Merge pull request #236 from youngquan/new_branch
...
修改了一个错误的加粗符号位置
2022-10-28 15:32:41 +08:00
yangquan
4b46606282
修改了一个错误的加粗符号位置
2022-08-23 16:36:01 +08:00
Aadil Jaleel Choudhry
457a50287a
fixes syntax bug in enum README.md by changing r2 to Color2
2022-05-07 16:55:35 +05:00
Francis
9f58fef2ce
Update warn_rtti.cpp
2022-04-10 18:11:55 +08:00
Francis
9009f3b480
Update main.cpp
2022-04-10 18:06:34 +08:00
Francis
4afd3bab38
Update apple.cpp
2022-04-10 18:05:52 +08:00
Francis
c0077557b3
Update README.md
2022-04-10 18:05:39 +08:00
Francis
c1635d0c5c
Update README.md
2022-04-10 17:52:46 +08:00
Francis
2e087d1cee
Update README.md
2022-04-10 17:52:14 +08:00
Francis
02d6ffa60b
Update README.md
2022-04-10 17:46:45 +08:00
Francis
65c507d05c
Delete iv
2022-04-10 17:42:16 +08:00
Francis
92dd0fe190
Update README.md
2022-04-10 17:13:44 +08:00
Francis
56e738ed26
Update README.md
2022-04-10 17:08:06 +08:00
Francis
3901772710
Merge pull request #122 from NishantRaizada-wq/master
...
Update blackclass.cpp
2022-04-10 16:46:47 +08:00
Francis
de3f272694
Merge pull request #124 from freedomDR/master
...
fix: update const doc
2022-04-10 16:46:06 +08:00
Francis
27f5769403
Merge pull request #146 from executorOfZero/master
...
Update func_pointer.cpp
2022-04-10 16:45:21 +08:00
Francis
c49d1ac9c5
Merge pull request #158 from gakkiyomi/master
...
optimize: 修改笔误
2022-04-10 16:44:59 +08:00
Francis
ffa41e5e94
Merge pull request #114 from zhangm365/master
...
修改struct一些错误写法
2022-04-10 16:43:23 +08:00
Francis
038f9a7278
Merge pull request #184 from jackwener/typo
...
[typo] Remove line break
2022-04-10 16:37:40 +08:00
Francis
cf113c400b
Merge pull request #152 from ppdog0/patch-1
...
add ;
2022-04-10 16:35:45 +08:00
CYP12138
c0d76f164d
编译器优化sizeof,private继承访问权限更改
2022-03-16 18:05:59 +08:00
jakevin
a286e3e1c7
remove line break
2021-12-02 17:55:06 +08:00
gakkiyomi
3b355b7a1d
optimze: 修改笔误
2021-08-30 12:19:51 +08:00
ppdog0
fd9ffcc86e
add ;
2021-08-06 15:40:28 +08:00
executorOfZero
f24037d23f
Update func_pointer.cpp
2021-07-08 10:55:38 +08:00
freedomDR
ca08a3e8c1
fix: update const doc
2021-03-23 11:29:43 +08:00
NishantRaizada-wq
799cc52db8
Update blackclass.cpp
...
This will make you the use of the graphics including size
2021-02-25 11:31:14 +05:30
zhangm365
80398af669
修改struct一些错误写法
2021-01-19 15:35:53 +08:00
Francis
5595326ab1
Update README.md
2020-09-15 10:51:20 +08:00
Francis
6c8db43f17
Merge pull request #66 from weite-zhang/master
...
Update README.md
2020-08-23 12:50:38 +08:00
Weite Zhang
682b6ce7d8
Update README.md
2020-08-14 08:11:56 -04:00
守望
0c337b49cf
Update README.md
...
示例常规做法及其原因。
2020-07-24 18:53:52 +08:00
SouthEast
e582112da0
修改一个字词错误
...
“内联是在编译期建议编译器内联”
2020-07-03 11:34:24 +08:00
Francis
993d42631e
Update README.md
2020-06-15 16:40:56 +08:00
Francis
93f3d96f03
Update README.md
2020-06-14 19:11:12 +08:00
Francis
eef2a1989c
Merge pull request #33 from Aurelius84/refine_const
...
Refine content of assert and const
2020-06-14 19:02:39 +08:00
Francis
de553df6d4
Merge pull request #32 from Aurelius84/master
...
Polish content and style of basic_content/abstract
2020-06-14 19:00:05 +08:00
Francis
7e83a288bd
Update README.md
2020-06-14 18:51:27 +08:00