Skip to content

CppMore

Dive deep into the C++ core, and discover more!

  • Home
  • Articles
  • TGS
  • RSS
  • Guestbook
  • About

July 2022Monthly Archives

“Hello World” in C++23

import std; auto main() -> int { std::println("Hello world!"); } 随着 Modules 和 Formattin… Continue Reading “Hello World” in C++23

  • Posted on: July 29, 2022 April 24, 2024
  • Author: 里缪
  • Categories: C++23
  • 1
  • Views 1259

使用Concepts表示变化「定制点」

设计程序,经常需要分离不变的和变化的逻辑。将不变的逻辑放到一块,再以某种形式为变化的部分提供「定制点」,从而使程序具有更好的可扩展性,同时增加相似逻辑的可复用性。 因此,本质上来说,设计是为了应对变化… Continue Reading 使用Concepts表示变化「定制点」

  • Posted on: July 22, 2022 April 24, 2024
  • Author: 里缪
  • Categories: C++20
  • 3
  • Views 676

Notice

所有文章,俱为原创;未经允许,请勿转载。
网站新建,内容待迁,功能不全,尚在维护。

Free Books

C++ Generative Metaprogramming
The Book of Modern C++

Recent Posts

  • C++ Adventures: Namespaces
  • 怎样定位问题
  • 活动报告:围点第 4 期 Static Reflection
  • C++26 反射元编程:Spec API 注入模型
  • “……” 这种 C++ 语法已被标准弃用
  • std::monostate ≠ “空”类型
  • C++26 Finally Makes std::projected ADL-Proof
  • 另一种阻止 ADL 的巧妙手法

Recent Comments

  1. 里缪 on C++ Adventures: Namespaces
  2. bz on C++ Adventures: Namespaces
  3. Li Miu on 《产生式元编程》第二章 自复用代码生成技
  4. Li Miu on Clean Conversion from Run-time Values to Compile-time Constants in C++
  5. SKUSD on Clean Conversion from Run-time Values to Compile-time Constants in C++

Archives

  • October 2025 (1)
  • September 2025 (1)
  • July 2025 (2)
  • May 2025 (2)
  • April 2025 (3)
  • March 2025 (1)
  • October 2024 (1)
  • August 2024 (1)
  • July 2024 (3)
  • June 2024 (3)
  • May 2024 (3)
  • April 2024 (2)
  • March 2024 (2)
  • February 2024 (3)
  • January 2024 (3)
  • December 2023 (4)
  • November 2023 (5)
  • October 2023 (1)
  • September 2023 (5)
  • August 2023 (3)
  • July 2023 (5)
  • June 2023 (3)
  • May 2023 (1)
  • April 2023 (4)
  • March 2023 (1)
  • January 2023 (1)
  • November 2022 (1)
  • September 2022 (2)
  • July 2022 (2)
  • May 2022 (1)
  • February 2022 (2)
  • January 2022 (2)
  • August 2021 (1)
  • May 2021 (1)
  • July 2020 (1)
  • May 2020 (1)
  • April 2020 (2)
  • March 2020 (1)
  • January 2020 (1)
  • April 2019 (1)
  • March 2019 (5)
  • February 2019 (1)
  • January 2019 (3)
  • December 2018 (1)

Categories

  • Basics (9)
  • C++11 (1)
  • C++14 (1)
  • C++17 (2)
  • C++20 (7)
  • C++23 (2)
  • C++26 (7)
  • Concurrency (2)
  • Metaprogramming (16)
  • Networking (10)
  • Performance (2)
  • Techniques (4)
  • TodayGroupShared (23)
  • Tools (1)
  • Tricks (2)
  • 围点 (1)
  • 生活琐记 (3)

Attributes C++11 C++14 C++20 C++23 C++26 CMake Comma operator Constant expressions consteval constexpr constinit Coroutine deprecated Expansion statements explicit(bool) fallthrough Fold expressions Generative metaprogramming Idioms Initialization inline lambda Macros maybe_unused Monads namespace nodiscard noreturn no_unique_address NTTP Overload Resolution Pattern matching Polymorphism Recursive composition Recursive inheritance static std::exchange std::tuple tag-dispatching Tricks typename Value categories Variadic templates Vexing parses problem

Visitors

  • 18
  • 39
  • 542
  • 2,495
  • 122,304
  • 212,968
  • 71,997
  • 93

©2017 - 2025  CppMore.  All rights reserved.