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 14:17:14 UTC

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

    [ 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