# modern-cpp

> Guides C++ code toward modern idioms (C++20/23/26). Use when writing new C++ code, modernizing legacy patterns, or working on security-critical C++. Replaces raw pointers with smart pointers, SFINAE with concepts, printf with std::print, error codes with std::expected.

Skill · Free · License: CC-BY-SA-4.0 · Version: 2026.11.12-149d7b2

Install with the NotHoly CLI: `notholy skills install trailofbits/modern-cpp`

Canonical: https://notholy.com/en/skills/trailofbits/modern-cpp
