Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: *HELP Needed* for using DEC cxx Compiler
@ 1995-07-21  4:00 R. van der Wal
  0 siblings, 0 replies; only message in thread
From: R. van der Wal @ 1995-07-21  4:00 UTC (permalink / 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]




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-07-21  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-21  4:00 *HELP Needed* for using DEC cxx Compiler R. van der Wal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox