Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-278

std::valarray example code uses nonexistent operator<<

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1.3
    • 4.2.0
    • Documentation
    • None

    Description

      The example code at the bottom of this page

      http://svn.apache.org/viewvc/incubator/stdcxx/trunk/doc/stdlibref/valarray.html?view=co#sec17

      uses a non-existent stream operator (i.e. operator<<(stream&, const valarray<T>&) ) which is supposed to come from an also non-existent
      file 'valarray.h'

      Neither this file nor that operator<< are defined in the standard (ISO/IEC 14882:1998).

      Attachments

        Activity

          People

            sebor Martin Sebor
            snaewe Stefan Naewe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: