I've noticed that std::is_arithmetic<std::valarray<float>>
evaluates to false
. Isn't the entire point of valarrays to facilitate overloading scalar code to 'auto-vectorise' without resorting to boost etc. ?
Why does it not inherit the arithmetic properties of its templated type?
My question isn't necessarily a problem, but rather a fundamental misunderstanding on my part as I must be missing some philosophical insight if this is indeed intended.