From: Tim Lucia <lucia@zko.dec.com>
To: Joshua Wai Ho Hui <wjhui@leland.Stanford.EDU>
Subject: Re: Using Template in DEC C++ Compiler
Date: 1996/03/11 [thread overview]
Message-ID: <31448040.FF6@zko.dec.com> (raw)
In-Reply-To: 4hts9j$msm@nntp.Stanford.EDU
Joshua Wai Ho Hui wrote:
>
> Hi,
>
> I try to compile my program which has template class declaration using
> DEC C++ Compiler for DEC OSF. However, it always complaint that the functions
> are not found when doing the linking.
>
> Should I need to do something extra in order to make it work?
>
> Joshua
You need to define templates explicitly by saying #pragma define_template ...,
e.g.
#pragma define_template RWTPtrSlist<SymIndex>
will define the template class RWTPtrSlist<SymIndex>
Regards,
Tim
--
Timothy J. Lucia Email: mailto:lucia@zko.dec.com
Digital Equipment Corporation Phone: 603.881.2615
110 Spitbrook Road ZK2-3Q08 Fax: 603.881.0120
Nashua, NH USA 03062-2698 I'd rather be cycling.
prev parent reply other threads:[~1996-03-11 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4hts9j$msm@nntp.Stanford.EDU>
1996-03-11 5:00 ` Using Template in DEC C++ Compiler Tom Carlson
1996-03-11 5:00 ` Tim Lucia [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox