<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div>Objective-C++ exists and is important to a lot of our developers;  any implementation of lambdas in Clang will eventually need to handle both.</div>
</div></blockquote><div><br></div><div>Ah, Ok then. Though I assume lambdas aren't a high priority for Apple at the moment, given the presence of Blocks. Is that the case? That's why I thought I'd start looking at it myself as it seems like a feature the wider community might have more interest/motivation to work on than the Apple folks.<br>
<br>(I at least assume that a solution similar to the one I outlined wouldn't make it terribly inconvenient to improve later to allow for ObjC++ lambdas)<br><br>I suppose the question is whether  "getLang().CPlusPlus0x" is true for Objective-C++, or only actual C++0x? Well for now the ObjC case for messages comes first - so it won't pollute the C++0x lambda case until someone wants to add in Obj-C++ lambdas.</div>
</div>