www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/26/18:18:51

Xref: news2.mv.net comp.os.msdos.djgpp:3173
From: richard DOT young AT crc DOT doc DOT ca (Richard Young)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Libraries for Complex-class
Date: 26 Apr 1996 12:45:42 GMT
Organization: Communications Research Centre
Lines: 17
Message-ID: <4lqghm$bv0@crc-news.doc.ca>
NNTP-Posting-Host: yaker.vpcs.doc.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I've also had trouble moving to V2.x from V1.x and it seems that the new 
complex class is a template class meaning that complexes must be declared 
with their component data type (ie. Complex<double> x instead of just 
simply Complex x).  This is worthwhile because now I can have Complex 
single precision numbers (Complex<float>).  However, I'll have to change 
a lot of existing software to be compatible with the complex template 
class.  

Is the complex template class a standard, an emerging standard or just 
one of numerous implementations of the complex class.  I typically do 
code development in the Borland C++ IDE but I don't believe they have the 
same Complex template class.  This would make me reluctant to move to the 
template class.  I suppose I could extract the source for the complex 
template class from DJGPP and include it in the Borland environment.

Are there other options?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019