N3856: Unforgetting standard functions min/max as constexpr -- Gabriel Dos Reis
A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3856
Date: 2014-01-20
Unforgetting standard functions min/max as constexpr
by Gabriel Dos Reis
Excerpt:
This short paper proposes to make the standard functions
min
andmax
constexpr. They were top on the list of motivating cases for allowing reference parameters for constexpr functions in C++11. They were forgotten after the core language change was accepted.