constant_wrapper & nontype

LibraryC++26C++295 papers2 connections

std::constant_wrapper / cw, the nontype rename and the unwrap-on-call rules.

Papers

5 · Sofia 2025 → Brno 2026

Adds std::constant_wrapper and std::cw for passing compile-time constants as values with operator forwarding.