Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 32,006 of 33,346    |
|    =?ISO-8859-1?Q?Daniel_Kr=FCgler?= to All    |
|    Re: Why not add a feature to let lambda     |
|    14 Mar 12 17:12:51    |
   
   13e9d5e0   
   From: daniel.kruegler@googlemail.com   
      
   Am 14.03.2012 23:18, schrieb Roman W:   
   > On Tuesday, March 13, 2012 6:57:56 PM UTC, rockeet wrote:   
   >> sometimes a long ugly name may be useful, such as reinterpret_cast, in   
   >> this case the imaged keyword could be 'this_lambda' or 'lambda_self'   
   >> or 'lambda_recursively_call'   
   >   
   > I tried doing something like that:   
   >   
   > int main(void)   
   > {   
   > auto recursive_lambda = [](unsigned int n){ return n; };   
   > recursive_lambda = [&recursive_lambda](unsigned int n) { if (n<= 1) return   
   static_cast
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca