P3643

std::to_signed and std::to_unsigned

Latest is R5R3
Paperweight: Heavy

Add `std::to_signed` and `std::to_unsigned` function templates in the style of `std::to_underlying`.

Authors
Jan Schultke
Mailing
2026-09
Doc date
2026-08-23
Audience
LEWG
P

Revision history

  1. 2026-10
    R5 LEWG

    std::to_signed and std::to_unsigned

  2. 2026-10
    R4 LEWG

    std::to_signed and std::to_unsigned

  3. 2026-09
    R3 Selected (shown above)