valarray is a curious beast. It was admitted to the standard for the purpose of high-performance number computing, written in a way that was especially optimizable.

Turned out, though, that nobody cares about such a special-purpose class in the standard library.