Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 seems 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.

like image 510
andand Avatar asked Apr 05 '10 02:04

andand


1 Answers

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.

like image 83
James McNellis Avatar answered Oct 08 '22 17:10

James McNellis