Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c++ > #160

Re: lambda limitations

From "Martin B."<0xCDCDCDCD@gmx.at>
Newsgroups comp.std.c++
Subject Re: lambda limitations
Date 2011-06-10 17:11 -0600
Organization A noiseless patient Spider
Message-ID <ist955$4c5$1@dont-email.me> (permalink)
References <54e18fac-d559-4b73-9e55-5b028ccb7b59@p9g2000prh.googlegroups.com>

Show all headers | View raw


On 08.06.2011 21:14, Gene Bushuyev wrote:
>
>  Using lambda functions in AXE recursive descent parser generator
>  library, I immediately found two current lambda limitations, which
>  diminish their usefullnes, and for which I can't find justification.
>  It would be really useful to have 1) template lambdas, because parser
>  rules are generally iterator agnostic and templatized on iterator
>  type; and 2) recursive lambdas, because parser rules are often
>  recursive.
>

Herb Sutter commented on polymorphic lamdas in the lates C9 interview:

   http://herbsutter.com/2011/06/07/c9-ama/
   ->

http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers
   ->
   "Polymorphic lambdas - why did they fail and what work is being done
to bring something like them back?"

http://channel9.msdn.com/Shows/Going+Deep/Herb-Sutter-C-Questions-and-Answers#time=0h20m40s

cheers,
Martin

-- 
Stop Software Patents
http://petition.stopsoftwarepatents.eu/841006602158/
http://www.ffii.org/


[ comp.std.c++ is moderated.  To submit articles, try posting with your ]
[ newsreader.  If that fails, use mailto:std-cpp-submit@vandevoorde.com ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]

Back to comp.std.c++ | Previous | NextPrevious in thread | Find similar


Thread

lambda limitations  Gene Bushuyev <publicfilter@gbresearch.com> - 2011-06-08 13:14 -0600
  Re: lambda limitations Francis Glassborow <francis.glassborow@btinternet.com> - 2011-06-09 13:09 -0600
  Re: lambda limitations "Martin B."<0xCDCDCDCD@gmx.at> - 2011-06-10 17:11 -0600

csiph-web