This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]