Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-09-01 10:41:52


on Fri Aug 31 2007, Doug Gregor <dgregor-AT-osl.iu.edu> wrote:

> - Video: http://llvm.org/devmtg/2007-05/09-Naroff-CFE.mov

The goal of separating semantic analysis from parsing is a noble one,
but it sounds like he may be underestimating the amount of semantic
analysis that's required to parse C++. Inside templates we have the
benefit of the typename and template keywords to tell us which are the
types, but not inside regular code. AFAICT that means it has to do
template instantiation just to tell whether foo<bar>::x is a type or
not. Am I missing something?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk