modern-c-cpp-standards
Installation
SKILL.md
Modern C and C++ Standards
Purpose
Guide agents through current C and C++ standards on real compilers (checked with GCC 14/15/16.2 and Clang 23.1): changed defaults, C23 and C2y features, the C++20 default in GCC 16, C++26 reflection and contracts, library hardening, and feature detection.
Triggers
- "My code stopped compiling after upgrading to GCC 15/16"
- "What changed in C23 and how do I use
#embed/nullptr/ckd_add?" - "How do I try C++26 reflection?"
- "How do C++26 contracts (
pre,post,contract_assert) work?" - "Which compiler supports which C++26 feature?"
- "How do I detect language features portably?"