This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC's statement expression extension
Mark Mitchell <mark@codesourcery.com> writes:
> I think that Per's analogy of Scheme->C with OO Functional->C++ is not
> that good. The Scheme->C translation is much more tractable than the
> C++ translation. Many functional OO languages do not map well onto
> C++. (For example, if they allow method replacement, vtables are not
> what you want.)
No, but there is a good chance you might want to use the C++ abstraction
facilities such non-virtual methods and templates.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/