New paper: N3583, Exploring constexpr at Runtime -- Scott Schurr

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: N3583

Date: 2013-03-13

Exploring constexpr at Runtime

by Scott Schurr

Excerpt:

The paper explores motivations for either a) constraining selected constexpr functions and constructors so they may only be used during translation, or b) overloading on constexpr so different implementations could be provided for translation-time vs. run-time execution. Two examples are examined for motivation. Then the paper explores four approaches to providing the constraints.

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.