hsf-training / hsf-training/cpluspluscourse

Add a slide on `is_constant_evaluated` and `if consteval`

Open Beginner friendly
#191 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

later stale
Dominant language
TeX
Stars
313
Forks
104
PR merge metrics
No merged PRs in 30d

Description

is_constant_evaluated is in C++20 and if consteval in C++23. We should mention them at the end of the constexpr section.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Find the constexpr section in the course slide sources and review its ending. Add a slide covering C++20 is_constant_evaluated and C++23 if consteval, then verify that the slide renders correctly and appears at the end of that section.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.