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?