Hi, It appears that this patch for user-defined literals hasn't been applied to the document (though it is used by at least g++ and clang).
On Jun 5, 2011, at 4:11 AM, Sean Hunt <[email protected]> wrote: > Hi, > > I don't know where to find the document to patch against, but I'd like to > suggest that the line > > ::= li <source-name> # "" <source-name> > > be added somewhere amongst the productions for <operator-name> in 5.1.3 since > it's not yet in the document. Additionally, how about a case like this: int operator "" _w(const char*); template <class T> auto f(T p1) -> decltype(123_w, p1); int main() { f(456_w); } Clang gives a mangling of _Z1fIiEDTcmclL_Zli2_wPKcELA4_cEEfp_ET_, but g++ aborts on this case. I don't believe I've seen a discussion of this. Thanks, Mike Herrick Edison Design Group _______________________________________________ cxx-abi-dev mailing list [email protected] http://sourcerytools.com/cgi-bin/mailman/listinfo/cxx-abi-dev
