Lesson plan

Reflection (C++)

Reflection in C++ refers to the usage of reflective programming, introduced to the C++ programming language in C++26. Reflection in C++, unlike other languages like Java and C#, occurs at compile time and incurs no runtime overhead. Symbols in the C++ Standard Library handling reflection exist in the std::meta namespace, provided by the header. As of currently, GCC has support for reflection, while support in Clang is undergoing development with an experimental Clang fork by Bloomberg implementing much of the specification. JetBrains's CLion IDE offers reflection support as of version 2026.2.

Back to article

Article summary

Reflection in C++ refers to the usage of reflective programming, introduced to the C++ programming language in C++26. Reflection in C++, unlike other languages like Java and C#, occurs at compile time and incurs no runtime overhead. Symbols in the C++ Standard Library handling reflection exist in the std::meta namespace, provided by the header. As of currently, GCC has support for reflection, while support in Clang is undergoing development with an experimental Clang fork by Bloomberg implementing much of the specification. JetBrains's CLion IDE offers reflection support as of version 2026.2.

Key claims

  1. publication date: 2020 — source: Wikipedia, revision 1378603361, retrieved 2026-10-21 · confidence 0.95

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. The record states that the publication date is "2020". What evidence would count against this claim?
  3. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  4. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

  1. Wikipedia, “Reflection (C++)”, revision 1378603361, retrieved 2026-10-21 https://en.wikipedia.org/w/index.php?oldid=1378603361

Key claims and bibliography are generated from the same tracked claims and sources as the article page.