20 Commits

Author SHA1 Message Date
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
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
zhangxing
3c8a3f259b support bazel complie this project and format code. 2024-03-30 22:00:55 +08:00
laialaodi
9fdc5f327b fix #258 and #260 2023-02-02 10:56:19 +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
56e738ed26 Update README.md 2022-04-10 17:08:06 +08:00
Francis
de3f272694 Merge pull request #124 from freedomDR/master
fix: update const doc
2022-04-10 16:46:06 +08:00
Francis
038f9a7278 Merge pull request #184 from jackwener/typo
[typo] Remove line break
2022-04-10 16:37:40 +08:00
jakevin
a286e3e1c7 remove line break 2021-12-02 17:55:06 +08:00
ppdog0
fd9ffcc86e add ; 2021-08-06 15:40:28 +08:00
freedomDR
ca08a3e8c1 fix: update const doc 2021-03-23 11:29:43 +08:00
Aurelius84
ce125cfa5f refine content of assert and const 2020-06-12 21:03:43 +08:00
Francis
c40e1dcf00 Update README.md 2020-06-02 19:58:31 +08:00
Francis
e33eadcbb3 Update README.md 2020-05-04 10:18:29 +08:00
Francis
ada2b0c80f Update README.md 2020-03-13 12:06:49 +08:00
Light-City
08e9683b60 update 2020-03-11 13:03:08 +08:00
e
d522f0c9f3 correct markdown syntax and typo 2020-03-10 16:25:59 +08:00
Light-City
8edbbbc5a2 update 2019-11-05 16:56:07 +08:00