[cfe-dev] In-class initialization doesn't work for template
Jonathan Sauer
jonathan.sauer at gmx.de
Mon Jul 9 12:20:57 PDT 2012
Hello,
> For the following program, clang (see below for version) complains about the in-class initialization of a struct using a constant pointer, but only when it occurs in a template - the non-template case works:
This program compiles here with clang r159923. I guess it was a bug in clang that was fixed in
the meantime.
Jonathan
More information about the cfe-dev
mailing list