Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: R.vanderWal@KE.rulimburg.nl (R. van der Wal)
Subject: Re: *HELP Needed* for using DEC cxx Compiler
Date: 1995/07/21	[thread overview]
Message-ID: <R.vanderWal.2.300FABB7@KE.rulimburg.nl> (raw)

In article <3u29f1$56i@newstand.syr.edu> amkakade@newstand.syr.edu (Amolik M. Kakade) writes:
>From: amkakade@newstand.syr.edu (Amolik M. Kakade)
>Subject: *HELP Needed* for using DEC cxx Compiler
>Date: 13 Jul 1995 05:03:29 GMT


>Hi,

>I am looking for information about DEC C++ compiler and DEC specific
>information about writing C++ programs using templates.

>Any help/information/pointers will be greatly appreciated.

>Thanks.

>Amolik Kakade
>(kakade@npac.syr.edu)

With the distribution of our DEC C++ compiler came a (small) set of manuals, 
among which 'Using DEC C++'. Chapter 5 of this manual deals with templates 
under DEC C++.

In brief, template instatiantion is either automatic or manual. I have found 
the manual method the easier of the two (despite being used to Borland's and 
Symantec's automatic template instantion).

Manual instation boils down to putting define_template pragmas in your source 
code, like this:

#pragma define_template Class_name<arg1, arg2>  // For class templates
#pragma define_template function_name<arg1, arg2> // For functions

Obviously, you should replace 'Class_name', 'function_name', and so on by the 
appropriate names from your source code.

Ron van der Wal.
[r.vanderwal@ke.rulimburg.nl  or  tarma@pi.net]




                 reply	other threads:[~1995-07-21  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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