[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++: Problem with overloading a constructor when splitting a
- To: Dan Kenigsberg <danken(at-nospam)cs.Technion.AC.IL>
- Subject: Re: C++: Problem with overloading a constructor when splitting a
- From: Oleg Goldshmidt <ogoldshmidt(at-nospam)computer.org>
- Date: 18 Nov 2001 15:41:57 +0200
- Cc: nobody(at-nospam)cs.Technion.AC.IL, linux-il(at-nospam)linux.org.il
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: Dan Kenigsberg's message of "Sun, 18 Nov 2001 12:47:20 +0200 (IST)"
- Organization: Speaking for myself only.
- Original-Sender: ogoldshmidt@computer.org
- References: <200111181047.MAA15673@csd.cs.technion.ac.il>
- Reply-To: linux-il(at-nospam)linux.org.il
- Sender: oleg(at-nospam)data-zoo.com
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley)
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