Question about valarray.resize() implementation.
Liguo Song
liguo@nlog.phy.vanderbilt.edu
Thu Aug 2 20:43:00 GMT 2001
A question about valarray.resize() implementation.
In VC++6.0 from Microsoft, valarray.resize() will keep the original content of
the vallarray. But, in gcc, the same operation would reinitialize the content of
valarray. The former behavior is somewhat more convenient for a problem I'm
working no.
So, what is the reason for gcc's behavior? Such as performance?
Thanks for your comment.
Liguo (Leo)
More information about the Gcc-help
mailing list