This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug libstdc++/11126] New: Error in valarray::operator =
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: 08 Jun 2003 18:10:16 +0200
- Subject: Re: [Bug libstdc++/11126] New: Error in valarray::operator =
- Organization: Integrable Solutions
- References: <20030608153609.11126.lupoderi@tiscali.it>
"lupoderi@tiscali.it" <gcc-bugzilla@gcc.gnu.org> writes:
| PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
|
| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11126
|
| Summary: Error in valarray::operator =
| Product: gcc
| Version: 3.3
| Status: UNCONFIRMED
| Severity: normal
| Priority: P2
| Component: libstdc++
| AssignedTo: unassigned@gcc.gnu.org
| ReportedBy: lupoderi@tiscali.it
| CC: gcc-bugs@gcc.gnu.org
|
| The valarrat::operator=() doesn't change the size of right side operand.
This is not a bug. It is standard conformant behaviour.
A valarray is not expected to be size-adapting. It is undefined if
the left and the right sides have different sizes. This must be a
FAQ.
-- Gaby