[ 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
