Mail Archives: djgpp/2001/12/07/17:44:21
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f
|
Date: | Fri, 7 Dec 2001 23:47:14 +0100
|
From: | raf256 AT go2 DOT pl
|
X-Mailer: | The Bat! (v1.53d)
|
X-Priority: | 3 (Normal)
|
Message-ID: | <16028921229.20011207234714@go2.pl>
|
To: | Eli Zaretskii <djgpp AT delorie DOT com>
|
Subject: | help - export
|
MIME-Version: | 1.0
|
Reply-To: | djgpp AT delorie DOT com
|
Sorry for emailing, but I realy need help, and nobody on any
DJGPP/C/GCC group didn't helped me...
My problem is with external templates.
I have :
array.h declaration of template class cArray (only constructior,
and i.e. int length();
array.cpp definition of cArray
test.cpp, game.cpp, etc.. code that is using : cArray<int>,
cArray<float>, but also cArray<my_own_class_from_game_cpp>
all this in one project ofcourse
I readed FAQ, manual - and stil nothing, only work around that worked
is to declare each instanization of template that I would like o use
(like cArray<int>) but this isn't imho good :-(
I was waiting for quite long time for GCC 3, because external
templates are one of basic things needed for my project, and nothing
:(
Please - help me - maybe little example with explanation how to
configure CXX-flags etc under RHIDE...
I will be _realy_ greatfull for help :)
If You can - i'm waiting for this answare - I can't continue my
program until solving this problem, or - workaround, but I realy don't
want to re-build each time whole array.cpp - because my project will
have about 50,000 lines (in final version) so rebuilding external
templates each time will be very uncomfortable
--
Best regards,
'Raf256'
mailto:raf256 AT go2 DOT pl
- Raw text -