From 8eb6494ca84a2a23423a1be599ce528f15a0d4b3 Mon Sep 17 00:00:00 2001 From: light-city <455954986@qq.com> Date: Sat, 16 May 2026 12:06:37 +0800 Subject: [PATCH] fix: dir link . --- README.md | 14 +++++----- README_EN.md | 56 ++++++++++++++++++------------------- codingStyleIdioms/README.md | 2 +- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index bc5678b..2ae321d 100644 --- a/README.md +++ b/README.md @@ -74,12 +74,12 @@ - - @@ -343,7 +343,7 @@ C++2.0 是一个简称,意为「现代 C++」,包括 C++11/14/17/20。 ##### 你最喜欢的 c++ 编程风格惯用法是什么? - [1.类初始化列表](./codingStyleIdioms/1_classInitializers) -- [2.枚举类替换命名空间](./codingStyleIdioms/2_enumclass_namespace) +- [2.枚举类替换命名空间](./codingStyleIdioms/2_enumclass) - [3.RAII (资源获取即初始化)](./codingStyleIdioms/3_RAII) - [4.copy and swap](./codingStyleIdioms/4_copy-swap) - [5.pImpl (指针指向具体实现)](./codingStyleIdioms/5_pImpl) @@ -353,7 +353,7 @@ C++2.0 是一个简称,意为「现代 C++」,包括 C++11/14/17/20。 #### [极客时间《现代 C++ 实战 30 讲》](https://time.geekbang.org/channel/home) - [堆、栈、RAII:C++ 里该如何管理资源?](./learn_class/modern_cpp_30/RAII) - - [堆](./learn_class/modern_++_30/RAII/heap.cpp) + - [堆](./learn_class/modern_cpp_30/RAII/heap.cpp) - [栈](./learn_class/modern_cpp_30/RAII/stack.cpp) - [RAII](./learn_class/modern_cpp_30/RAII/RAII.cpp) - [自己动手,实现 C++ 的智能指针](./learn_class/modern_cpp_30/smart_ptr) @@ -370,7 +370,7 @@ C++2.0 是一个简称,意为「现代 C++」,包括 C++11/14/17/20。 - [容器 2](./learn_class/modern_cpp_30/container2) - [异常](./learn_class/modern_cpp_30/exception) - [字面量、静态断言和成员函数说明符](./learn_class/modern_cpp_30/literalAssert) -- [是不是应该返回对象?](./learn_class/modern_cpp_30/returnObj) +- [是不是应该返回对象?](./learn_class/modern_cpp_30/obj) - [编译期多态:泛型编程和模板入门](./learn_class/modern_cpp_30/compilerpoly) - [译期能做些什么?一个完整的计算世界](./learn_class/modern_cpp_30/compilercompute) - [SFINAE:不是错误的替换失败是怎么回事?](./learn_class/modern_cpp_30/SFINAE) diff --git a/README_EN.md b/README_EN.md index 77f6bc9..787e5c2 100644 --- a/README_EN.md +++ b/README_EN.md @@ -114,15 +114,15 @@ File And Stream ├── [Input And Output Overloading.cpp](./practical_exercises/key_exercises/输入输出重载.cpp) ├── [Input Format.cpp](./practical_exercises/key_exercises/输出格式.cpp) -### 2.[C++2.0 New Features](./c++2.0) +### 2.[C++2.0 New Features](./cpp2.0) #### 2.0 Overview C++2.0 is an Abbreviation, meaning「modern C++」,including C++11/14/17/20. -#### 2.1 [C++11 New Features](./c++2.0/c++11) +#### 2.1 [C++11 New Features](./cpp2.0/cpp11) -- [Variadic Templates](./c++2.0/variadic) +- [Variadic Templates](./cpp2.0/cpp11/variadic) - Spaces in Template Expressions @@ -131,17 +131,17 @@ C++2.0 is an Abbreviation, meaning「modern C++」,including C++11/14/17/20. vector> // before c++ 11 error error: ‘>>’ should be ‘> >’ within a nested template argument list,version beyond c++ 11 could compile successfully ``` -- [nullptr and nullptr_t](./c++2.0/nullptr.cpp) +- [nullptr and nullptr_t](./cpp2.0/cpp11/nullptr.cpp) -- [Automatic Type Deduction with auto](./c++2.0/auto.cpp) +- [Automatic Type Deduction with auto](./cpp2.0/cpp11/auto.cpp) -- [Uniform Initialization ](./c++2.0/uniform_initialization.cpp) +- [Uniform Initialization ](./cpp2.0/cpp11/uniform_initialization.cpp) -- [initializer_list](./c++2.0/initializer.cpp) +- [initializer_list](./cpp2.0/cpp11/initializer.cpp) -- [explicit for ctors taking more than one argument](./c++2.0/explicit.cpp) +- [explicit for ctors taking more than one argument](./cpp2.0/cpp11/explicit.cpp) -- [range-based for statement](./c++2.0/auto.cpp) +- [range-based for statement](./cpp2.0/cpp11/auto.cpp) ```cpp for(decl:col) { @@ -149,33 +149,33 @@ C++2.0 is an Abbreviation, meaning「modern C++」,including C++11/14/17/20. } ``` -- [=default,=delete](./c++2.0/default_delete.cpp) +- [=default,=delete](./cpp2.0/cpp11/default_delete.cpp) If you define a ctor by yourself, compiler won't compile the default ctor. If you add =default, you could recatch and use default ctor. - Alias(化名)Template(template typedef) - - [alias.cpp](./c++2.0/alias.cpp) - - [template_template.cpp](./c++2.0/template_template.cpp) + - [alias.cpp](./cpp2.0/cpp11/alias.cpp) + - [template_template.cpp](./cpp2.0/cpp11/template_template.cpp) -- [template template parameter](./c++2.0/template_template.cpp) +- [template template parameter](./cpp2.0/cpp11/template_template.cpp) -- [type alias](./c++2.0/type_alias.cpp) +- [type alias](./cpp2.0/cpp11/type_alias.cpp) -- [noexcept](./c++2.0/noexcept.cpp) +- [noexcept](./cpp2.0/cpp11/noexcept.cpp) -- [override](./c++2.0/override.cpp) +- [override](./cpp2.0/cpp11/override.cpp) -- [final](./c++2.0/final.cpp) +- [final](./cpp2.0/cpp11/final.cpp) -- [decltype](./c++2.0/decltype.cpp) +- [decltype](./cpp2.0/cpp11/decltype.cpp) -- [lambda](./c++2.0/lambda.cpp) +- [lambda](./cpp2.0/cpp11/lambda.cpp) -- [Rvalue reference](./c++2.0/rvalue.cpp) +- [Rvalue reference](./cpp2.0/cpp11/rvalue.cpp) -- [move aware class](./c++2.0/move.cpp) +- [move aware class](./cpp2.0/cpp11/move.cpp) - Container-Struct And Classify @@ -183,9 +183,9 @@ C++2.0 is an Abbreviation, meaning「modern C++」,including C++11/14/17/20. - (2) Associated containers include:`set/multiset`,`map/multimap` - (3) Unordered container(C++2.0 Newly Introduced,replace `hash_xxx` to `unordered_xxx`) include:`unordered_map/unordered_multimap,unordered_set/unordered_multiset` -- [Hash Function](./c++2.0/hash.cpp) +- [Hash Function](./cpp2.0/cpp11/hash.cpp) -- [tuple](./c++2.0/tuple.cpp) +- [tuple](./cpp2.0/cpp11/tuple.cpp) Learning Material:https://www.bilibili.com/video/av51863195?from=search&seid=3610634846288253061 @@ -211,10 +211,10 @@ To Be Continued ... - [iterator](./src_analysis/stl/iterator.md) - [Talking about STL design and EBO optimization](./src_analysis/stl/谈谈STL设计之EBO优化.md) - [rb_tree](./src_analysis/stl/rb_tree.md) -- [set and multiset](set_multiset.md) +- [set and multiset](./src_analysis/stl/set_multiset.md) - [map and multimap](./src_analysis/stl/map_multimap.md) - [hashtable](./src_analysis/stl/hashtable.md) -- [myhashtable](./src_analysis/stl/myPhashtable.md) +- [myhashtable](./src_analysis/stl/myhashtable.md) - [unordered_map](./src_analysis/stl/unordered_map.md) ### 4. [Concurrent Programming](./concurrency) @@ -244,7 +244,7 @@ Learning materials: https://chenxiaowei.gitbook.io/cpp_concurrency_in_action/ ##### What is your favorite custom for c ++ programming style? - [1.ClassInitializers](./codingStyleIdioms/1_classInitializers) -- [2.Replace Enumclass with Namespace](./codingStyleIdioms/2_enumclass_namespace) +- [2.Replace Enumclass with Namespace](./codingStyleIdioms/2_enumclass) - [3.RAII(Resource Acquisition Initialization)](./codingStyleIdioms/3_RAII) - [4.Copy and Swap](./codingStyleIdioms/4_copy-swap) - [5.pImpl(Pointer Implement)](./codingStyleIdioms/5_pImpl) @@ -254,7 +254,7 @@ Learning materials: https://chenxiaowei.gitbook.io/cpp_concurrency_in_action/ #### 6.1 [Chinese Name:极客时间《现代 C++ 实战 30 讲》](https://time.geekbang.org/channel/home) - [heap、stack、RAII:How to manage resources for C ++ ?](./learn_class/modern_cpp_30/RAII) - - [heap](./modern_++_30/RAII/heap.cpp) + - [heap](./learn_class/modern_cpp_30/RAII/heap.cpp) - [stack](./learn_class/modern_cpp_30/RAII/stack.cpp) - [RAII](./learn_class/modern_cpp_30/RAII/RAII.cpp) - [Implementing smart pointers for C ++](./learn_class/modern_cpp_30/smart_ptr) @@ -271,7 +271,7 @@ Learning materials: https://chenxiaowei.gitbook.io/cpp_concurrency_in_action/ - [Container 2](./learn_class/modern_cpp_30/container2) - [Exception](./learn_class/modern_cpp_30/exception) - [Literal、Static Assertion And Member Function Specifier](./learn_class/modern_cpp_30/literalAssert) -- [Return Object?](./learn_class/modern_cpp_30/returnObj)c +- [Return Object?](./learn_class/modern_cpp_30/obj) - [Getting started with generic programming and templates](./learn_class/modern_cpp_30/compilerpoly) - [A whole Compiler Compute World](./learn_class/modern_cpp_30/compilercompute) - [SFINAE:What is it if it is not replace error?](./learn_class/modern_cpp_30/SFINAE) diff --git a/codingStyleIdioms/README.md b/codingStyleIdioms/README.md index 9cecdec..b3e9ebc 100644 --- a/codingStyleIdioms/README.md +++ b/codingStyleIdioms/README.md @@ -7,7 +7,7 @@ 由于是英文的,且比较重要,于是总结成下面几条! - [1.类初始化列表](./1_classInitializers) -- [2.枚举类替换命名空间](./2_enumclass_namespace) +- [2.枚举类替换命名空间](./2_enumclass) - [3.RAII(资源获取即初始化)](./3_RAII) - [4.copy and swap](./4_copy-swap) - [5.pImpl(指针指向具体实现)](./5_pImpl)
-
+
+
星球
-
+
+
微信公众号