[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++: Problem with overloading a constructor when splitting a
- Subject: Re: C++: Problem with overloading a constructor when splitting a
- From: Daniel Feiglin <dilogsys(at-nospam)inter.net.il>
- Date: Sun, 18 Nov 2001 21:59:53 +0200
- CC: linux-il(at-nospam)linux.org.il
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Organization: Dilog Computers Ltd.
- References: <Pine.LNX.4.33.0111181300110.1349-100000@alhambra.merseine.nu>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628
See discussion on export keyword, p. 205 in The C++ Programming Language (3rd
edn.), Stroustrup. It should do the job, but I don't know in GNU c++ implements it.
mulix wrote:
> On Sun, 18 Nov 2001, Dan Kenigsberg wrote:
>
>
>>This may seem an ugly feature of C++, but in fact it is better than the C
>>counterpart - macros. 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.
>>
>
> actually, writing the implementation of class templates in header files
> is *not* a language feature, it's a limitation of current (?) compiler
> technology, which can not handle templates being split up in different
> compilation units.
>
> [ i would supply more details, but couldnt find any references on
> google. if anyone can shed more light, please do. ]
>
=================================================================
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