This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: String class + Documentation Questions



> What I'd like to see is a complex class that's more useful for
> numerical processing:
> 
> 1) No default constructor (avoid wasting time initializing arrays)
> 2) Direct public access to .re and .im to ease porting of legacy code.

It is trivial to write one.  But I don't understand your second point:
what large body of legacy code assumes complex values have accessible
.re and .im (and not .r and .i, .real and .imag, etc).?




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]