MCPcopy Create free account
hub / github.com/Mq-b/Modern-Cpp-templates-tutorial

github.com/Mq-b/Modern-Cpp-templates-tutorial @v1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2 ↗ · + Follow
29 symbols 39 edges 25 files 0 documented · 0% updated 5mo agov1.2 · 2024-09-05★ 9252 open issues

Browse by type

Functions 18 Types & classes 11
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

cpp

现代 C++ 模板教程

本仓库用来存放 B 站课程 《现代 C++ 模板教程 2024》的教案、代码,和作业

任何组织和个人遵守 CC BY-NC-ND 4.0 协议即可随意使用。

捐赠、issues、pr 均会在 致谢列表中铭记您的贡献


  国内众多 C++ 教程古老且过时,学校教学则更是过分。我们需要新式的,教学符合时代的知识、代码风格、思维的课程!

  本教程创新性的采用学习 + 提交作业的方式,您需要视频学习后提交作业,而我们会进行批改和评论。

  本教程假设读者的最低水平为:C + class + STL

  虽强调现代 C++,但同时对于老式模板写法也都会进行提及和教学。因为不体会老式语法和写法的折磨,没有办法理解新特性的价值与意义

请确保您的编译器至少支持 C++20,优先使用 gcc13,clang16,msvc v19.latest。所有代码均测试三大编译器。

Core symbols most depended-on inside this repo

Shape

Function 12
Class 11
Method 6

Languages

C++100%

Modules by API surface

code/生成静态库/export_template.cpp3 symbols
code/生成动态库/export_template.cpp3 symbols
code/04显式实例化解决模板分文件问题/test_class_template.cpp3 symbols
code/04显式实例化解决模板分文件问题/test_class_template.h2 symbols
code/生成静态库/export_template.h1 symbols
code/生成动态库/export_template.h1 symbols
code/测试使用静态库/run_test.cpp.cpp1 symbols
code/测试使用静态库/export_template.h1 symbols
code/05显式实例化解决模板导出动态静态库问题/run_test.cpp.cpp1 symbols
code/05显式实例化解决模板导出动态静态库问题/export_template.h1 symbols
code/04显式实例化解决模板分文件问题/test_function_template.cpp1 symbols
code/04显式实例化解决模板分文件问题/main.cpp1 symbols

For agents

$ claude mcp add Modern-Cpp-templates-tutorial \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page