Related articles |
---|
parsing c++ without a symbol table! gregory.knapen@bell.ca (KNAPEN, GREGORY) (1998-07-27) |
Re: parsing c++ without a symbol table! dlmoore@pgroup.com (David L Moore) (1998-07-27) |
Re: parsing c++ without a symbol table! qjackson@wave.home.com (Quinn Tyler Jackson) (1998-07-28) |
Re: parsing c++ without a symbol table! jason@cygnus.com (Jason Merrill) (1998-07-28) |
Re: parsing c++ without a symbol table! mac@coos.dartmouth.edu (1998-07-30) |
From: | "Quinn Tyler Jackson" <qjackson@wave.home.com> |
Newsgroups: | comp.compilers |
Date: | 28 Jul 1998 11:27:33 -0400 |
Organization: | Compilers Central |
References: | 98-07-199 |
Keywords: | C++, parse |
>1. ambiguity between function call and variable declaration
>
>ex: T(a); or T(*a); etc..
Where T is a class, I've always considered all such declarations to be
function calls, where the member function in question is the constructor,
and where the return value is a non-const reference to an anonymous object.
--
Quinn Tyler Jackson
Research Programmer
email: qjackson@wave.home.com
url: http://www.qtj.net/~quinn/
ftp: qtj.net
--
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.