slices ; Stroustrup & libstdc++
Gabriel Dos Reis
Gabriel.Dos-Reis@cmla.ens-cachan.fr
Mon Jun 19 09:02:00 GMT 2000
brent verner <brent@rcfile.org> writes:
[...]
| First, let me apologize for inappropriate use of the quote. Second,
| let me say that I spent the past weekend trying to understand the
| implementation of the valarray classes enough to fix some problems
| I found.
The valarray library is certainly full of bugs, and I'll love to
address them, if it turns out that they are actually bugs in the
implementation.
| valarray(const slice_array<T>&); // does not compile
There is a library issue along these lines. I suggested a
possible resolutions. I don't know what the LWG will decide.
| valarray(const valarray& name); // only copies value of name[0]
I guess there is a missing sizeof(_Tp) factor in the optimized
version.
| (I'll post a full bug report later this week if I can't solve the
| problems)
|
| BTW, where is __restrict__ defined?
It is one of the thousands of compiler extensions useful for the
library implementation purpose.
-- Gaby
More information about the Libstdc++
mailing list