This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Okay, my question is: how much work would this be for a more experienced C++ frontend hacker (like someone who, uhm, at least knows where to look at ;-) ) to do, and is this feasible at all?
---------------------- template <class T> struct S { static int foo (void); enum { val = sizeof (foo()) }; };
int main () { return S<char>::val; } ----------------------
The message is messed up when displayed but extracting the patch from HTML source should be fine. I'm not sure if the patch applies cleanly.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |