🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Werner Geurts Tue, 26 Mar 1996 10:46
mem-initializer-list
#3804
Author: Werner Geurts
Date: Tue, 26 Mar 1996 10:46
21 lines
1644 bytes
In the grammar of the ISO C++ draft, most production rules for lists are
written using left recursion. An exception is the rule for a
mem-initializer-list, for which right recursion is used:

          mem-initializer-list: 
                  mem-initializer
                  mem-initializer , mem-initializer-list

Why is right recursion used in this case?

Werner Geurts -------------------------------------------------------

s-mail: IMEC / VSDM division, Kapeldreef 75, B-3001 Leuven, Belgium
phone:  +32/16/28.12.58       e-mail: geurts@imec.be
fax:    +32/16/28.15.15       www:    http://www.imec.be
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads