On Monday, 11 November 2013 at 16:22:40 UTC, Timon Gehr wrote:
On 11/11/2013 01:36 PM, Rikki Cattermole wrote:

Yes outside of macros would be useful. For example code like this would
become redundant:
pragma(msg, "Support for x is not implemented on platform y");
static assert(0);

Becoming:
pragma(error, "Support for x is not implemented on platform y");

static assert(0, "Support for x is not implemented on platform y");

Hmm wasn't aware of that syntax. Needs an example I think on docs.
I will still work on pull request as the point of an assert and pragma message is different, atleast I believe.

Reply via email to