You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Stefan Naewe (JIRA)" <ji...@apache.org> on 2006/08/21 13:34:17 UTC

[jira] Created: (STDCXX-278) valarray example code uses nonexistant operator<<

valarray example code uses nonexistant operator<<
-------------------------------------------------

                 Key: STDCXX-278
                 URL: http://issues.apache.org/jira/browse/STDCXX-278
             Project: C++ Standard Library
          Issue Type: Bug
          Components: 26. Numerics, Documentation
    Affects Versions: 4.1.3
            Reporter: Stefan Naewe


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (STDCXX-278) valarray example code uses nonexistant operator<<

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/STDCXX-278?page=comments#action_12429440 ] 
            
Martin Sebor commented on STDCXX-278:
-------------------------------------

I agree that the example doesn't make it clear that the standard doesn't specify a valarray inserter. The name of the helper header <valarray.h> is not the most fortunate choice either.

> valarray example code uses nonexistant operator<<
> -------------------------------------------------
>
>                 Key: STDCXX-278
>                 URL: http://issues.apache.org/jira/browse/STDCXX-278
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 26. Numerics, Documentation
>    Affects Versions: 4.1.3
>            Reporter: Stefan Naewe
>            Priority: Minor
>
> 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).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (STDCXX-278) std::valarray example code uses nonexistent operator<<

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor reassigned STDCXX-278:
-----------------------------------

    Assignee: Martin Sebor

> std::valarray example code uses nonexistent operator<<
> ------------------------------------------------------
>
>                 Key: STDCXX-278
>                 URL: https://issues.apache.org/jira/browse/STDCXX-278
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 4.1.3
>            Reporter: Stefan Naewe
>            Assignee: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2
>
>
> 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).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-278) std::valarray example code uses nonexistent operator<<

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-278:
--------------------------------

    Component/s:     (was: 26. Numerics)
        Summary: std::valarray example code uses nonexistent operator<<  (was: valarray example code uses nonexistant operator<<)

This is a documentation only problem, the actual code in the .cpp file is fine.

> std::valarray example code uses nonexistent operator<<
> ------------------------------------------------------
>
>                 Key: STDCXX-278
>                 URL: https://issues.apache.org/jira/browse/STDCXX-278
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 4.1.3
>            Reporter: Stefan Naewe
>            Priority: Minor
>
> 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).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-278) std::valarray example code uses nonexistent operator<<

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-278:
--------------------------------

    Fix Version/s: 4.2

Scheduled for 4.2.0.

> std::valarray example code uses nonexistent operator<<
> ------------------------------------------------------
>
>                 Key: STDCXX-278
>                 URL: https://issues.apache.org/jira/browse/STDCXX-278
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 4.1.3
>            Reporter: Stefan Naewe
>            Assignee: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2
>
>
> 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).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STDCXX-278) valarray example code uses nonexistant operator<<

Posted by "Stefan Naewe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/STDCXX-278?page=comments#action_12429404 ] 
            
Stefan Naewe commented on STDCXX-278:
-------------------------------------

Well...

I found out that there is a file 'valarray.h' in the directory 'examples/include' that contains the missing operator<< for valarray.
I think this should be documented better somehow.

> valarray example code uses nonexistant operator<<
> -------------------------------------------------
>
>                 Key: STDCXX-278
>                 URL: http://issues.apache.org/jira/browse/STDCXX-278
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 26. Numerics, Documentation
>    Affects Versions: 4.1.3
>            Reporter: Stefan Naewe
>            Priority: Minor
>
> 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).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (STDCXX-278) valarray example code uses nonexistant operator<<

Posted by "Stefan Naewe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-278?page=all ]

Stefan Naewe updated STDCXX-278:
--------------------------------

    Priority: Minor  (was: Major)

Priority set to 'minor'.

> valarray example code uses nonexistant operator<<
> -------------------------------------------------
>
>                 Key: STDCXX-278
>                 URL: http://issues.apache.org/jira/browse/STDCXX-278
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 26. Numerics, Documentation
>    Affects Versions: 4.1.3
>            Reporter: Stefan Naewe
>            Priority: Minor
>
> 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).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (STDCXX-278) std::valarray example code uses nonexistent operator<<

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor closed STDCXX-278.
-------------------------------

    Resolution: Fixed

Fixed as follows:
http://svn.apache.org/viewvc?rev=584618&view=rev
http://svn.apache.org/viewvc?rev=584622&view=rev

Closing.

> std::valarray example code uses nonexistent operator<<
> ------------------------------------------------------
>
>                 Key: STDCXX-278
>                 URL: https://issues.apache.org/jira/browse/STDCXX-278
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 4.1.3
>            Reporter: Stefan Naewe
>            Assignee: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2
>
>
> 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).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.