0

Question comes from my off-the-top-of-my-head answer to this question (which I have deleted cause, well, std::valarray has no constructor taking a pair of iterators...).

The question is: why?

Community
  • 1
  • 1
rubenvb
  • 74,642
  • 33
  • 187
  • 332
  • 1
    Don't take my word for it, but I think valarray was in standard lib since before SGI's STL (which introduced iterators) was incorporated and nobody bothered to update valarray. – jrok Dec 02 '14 at 12:58
  • 1
    Because nobody ever really cared about `valarray`; it got into the standard somehow and pretty much nobody ever looked at it again. – Sebastian Redl Dec 02 '14 at 12:59
  • http://stackoverflow.com/questions/1602451/c-valarray-vs-vector – Peter Dec 02 '14 at 13:02

0 Answers0