oceanbase / oceanbase/miniob

[cpplings] Add modern C++ (14/17/20) feature exercises

Open
#525 0 comments 0 reactions 1 assignee View on GitHub

@XueSongTap is already working on this.

Since Mar 20, 2025.

enhancement
Dominant language
C++
Stars
4.4k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Enhancement
This sub-issue will add exercises covering modern C++ features to help users learn the syntax and libraries introduced in C++14, C++17, and C++20.

The exercises will include:

  • C++14: Generic lambdas, auto return type deduction, variable templates
  • C++17: Structured bindings, std::optional, std::variant, if-with-initializer
  • C++20: Concepts, ranges, designated initializers

Understanding these modern C++ features will help with writing more concise and maintainable code in the MiniOB project.

Parent issue: #508 (add more cpplings case)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.