On Monday, 19 January 2015 at 16:12:59 UTC, Luc Bourhis wrote:
Thanks everybody for your help!

Just one point I forgot to mention: the compiler chokes on

  static assert(!__traits(compiles, xc[0] = 1.0));

with:

found '=' when expecting ')' following template argument list

But

  static assert(!__traits(compiles, (xc[0] = 1.0)));

works.

Reply via email to