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

std::valarray poorly named locals cause intro/17.names test to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 4.1.4
    • 4.2.0
    • 26. Numerics
    • None

    Description

      There are a few simple errors in valarray that cause test 'intro/17.names.cpp' to not compile. The problem is that the local variable names 'msk', 'sec' and 'sl' are bad [as defined by the test itself]. In most places the more appropriate '__<name>' local variable format is used.

      Attachments

        1. valarray.patch
          3 kB
          Travis Vitek

        Issue Links

          Activity

            People

              sebor Martin Sebor
              vitek Travis Vitek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: