jeudi 28 septembre 2017

Is it a bad idea to use std::valarray in C++ programming?

I read about std::valarray in C++ book writen by Nicolai M. Josuttis. He writs in his book The C++ Standard Library, chapter 17.4:

The valarray classes were not designed very well. In fact, nobody tried to determine whether the final specification worked. This happened because nobody felt “responsible” for these classes. The people who introduced valarrays to the C++ standard library left the committee long before the standard was finished. As a consequence, valarrays are rarely used.

So, is it a bad idea to use std::valarray in C++ programming?

Aucun commentaire:

Enregistrer un commentaire