Re: [C++] Derive a class from a tamplate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



stefano luceri wrote:

> Hello to all .... excuse for my bad english
>
> I've the following problem writing a simple program. I would use the
> metods of std::valarray class adding some self writed method for
> elemnts of double type.
>
I would be very careful about overriding valarray unless you know what
you are doing, it uses some very strange implementation techniques.
Couldn't you use vector instead? or a member of type valarray? Or do you
need/want to extra features valarray offers?

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux