What's the future of std::valarray look like?
Up until fairly recently I hadn't been keeping up with the C++11 deliberations. As I try to become more familiar with it and the issues being worked, I came across this site which se开发者_如何学运维ems to be advocating for deprecating or removing std::valarray
since most people are using Blitz++ instead. I guess I'm probably one of the few people out there who still uses std::valarray
(and yes I know the class has a sordid past, a tarnished present, and a questionable future). But, it does what I need, and perhaps more important, it's part of the standard (for now any way).
Aside from the one site above, I've been able to find very little on what is actually happening with std::valarray
in the new standard, and was hoping that somebody on SO might be able to provide some insight and / or references where Google, Wikipedia and even the C++ Standards Committee Web Site have so far failed me. Thanks.
std::valarray
is included in C++11. It has not been deprecated or removed. It has been updated to include move operations
std::valarray
is defined in §26.6[numarray] of the C++11 language standard.
精彩评论