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


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

Re: lambda limitations

From Francis Glassborow <francis.glassborow@btinternet.com>
Newsgroups comp.std.c++
Subject Re: lambda limitations
Date 2011-06-09 13:09 -0600
Organization unknown
Message-ID <vcWdncBUDLptZHLQnZ2dnUVZ8tidnZ2d@bt.com> (permalink)
References <54e18fac-d559-4b73-9e55-5b028ccb7b59@p9g2000prh.googlegroups.com>

Show all headers | View raw


On 08/06/2011 20: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.
>
When we remember :) we are conservative with new features. Once you have
put something in it is hard to take it out later. If you would find
those things useful encourage an implementer to provide them as an
extension. If they work without problems then it will be relatively easy
to add them into the next Standard.


-- 
[ 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 | Next 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