17 Oct
2017
17 Oct
'17
4:59 p.m.
Robert Ramey wrote:
Hmmm - the appeal to me of such a standards committee proposal would be the the fact that it's just a minor variation on static_assert.
Traditionally, the standard doesn't specify any warnings. It only distinguishes between three types of programs: - ill-formed, diagnostic required - ill-formed, no diagnostic required - well-formed although now that there's precedent for a construct whose purpose is to emit warnings, namely, the 'deprecated' attribute, the committee may be willing to consider including something like static_warning.