Topic: Templates and Portability
Author: b91926@fsgm01.fnal.gov (David Sachs)
Date: 1995/07/17 Raw View
jono@cse.ucsc.edu (Jonathan Gibbs) writes:
>Am am working on a C++ application for UNIX/X workstations. I am
>considering using templates, but I have been told my code will be less
>portible if I do. I am planing to port to Sun, SGI, and IBM
>workstations.
>Is it true that using templates will shoot my portability in the foot?
In the short term, your code will be less portable, because different
C++ systems have varying levels of template support and implementation.
Once compilers conforming to the forthcoming ANSI/ISO standard are
generally available, using templates will not hurt portability.
--
** The Klingons' favorite food was named by the first earthling to see it **
David Sachs - Fermilab, HPPC MS369 - P. O. Box 500 - Batavia, IL 60510
Voice: 1 708 840 3942 Deparment Fax: 1 708 840 3785
Author: jono@cse.ucsc.edu (Jonathan Gibbs)
Date: 1995/07/15 Raw View
Am am working on a C++ application for UNIX/X workstations. I am
considering using templates, but I have been told my code will be less
portible if I do. I am planing to port to Sun, SGI, and IBM
workstations.
Is it true that using templates will shoot my portability in the foot?
Any recomendations?
--
--jono--
"I was aware of Jonathan at all times- he's like my little brother" -Lou Reed
"He who knows he has enough is rich" -Tao Te Ching
<Home Page: http://www.cse.ucsc.edu/~jono>