From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,377aa7051fadd70a,start X-Google-Attributes: gidfee84,public From: R.vanderWal@KE.rulimburg.nl (R. van der Wal) Subject: Re: *HELP Needed* for using DEC cxx Compiler Date: 1995/07/21 Message-ID: #1/1 X-Deja-AN: 106587417 organization: Rijksuniversiteit Limburg newsgroups: comp.unix.osf.osf1 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 // For class templates #pragma define_template function_name // 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]