Re: Synopsis roadmap

David Abrahams <[email protected]>
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
Joel de Guzman <[email protected]> writes:

> David Abrahams wrote:
>> Stefan Seefeld <[email protected]> writes:
>
>>>And, neither the old nor the new parser have real overload resolution or
>>>(partial) template specialization.
>> What does it mean to not "have" real partial template specialization
>> in a parser?  Or overload resolution, for that matter?  (Partial)
>> specialization support in a parser is just a matter of being able to
>> eat the syntax.  Overload resolution is a semantic analysis issue.
>> No?
>
> Is it? What about the sizeof trick that depends on overload
> resolution? We always use that trick in boost. Syntactic and
> semantic analysis is always heavily intertwined in C++.

Being able to resolve the result of sizeof never affects how parsing
proceeds.  Types remain types, templates remain templates, and the
syntactic role of everything else remains as it was, too.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.