[cxx-abi-dev] Mangling C++0x Lambdas

Dennis Handly dhandly at cup.hp.com
Tue Dec 16 01:26:36 UTC 2008


>From: "Doug Gregor" <doug.gregor at gmail.com>
>The scheme it used was to mangle the lambda name as "__lambda_#",
>where # is just a counter of the number of lambdas seen in the
>translation unit. This will cause problems if, for example, the
>following inline function "foo" occurs in several translation units
>(with varying numbers of lambdas before it):

Right.  We had that nasty bug in cfront for typedefs on tagless classes.
Until the Standard was changed to say the name of the class is the first
typedef name.



More information about the cxx-abi-dev mailing list