[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++: Problem with overloading a constructor when splitting a



Dan Kenigsberg <danken@cs.Technion.AC.IL> writes:

> This may seem an ugly feature of C++, but in fact it is better than
> the C counterpart - macros.

Inlined functions are supposed to be a standard C feature in C99. GCC
has had them for years.

> In fact, writing the implementation of inline functions in header
> file is a beautiful gem, comparing to writing the implemetation of
> calss templates in header files. Yuck.

Well, don't blame C for that. Yuck, indeed - breaks modularizations
etc.
 
-- 
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org 
"If it ain't broken, it has not got enough features yet."

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il