]> git.ipfire.org Git - thirdparty/gcc.git/commit
valarray_after.h (_Expr<>::operator[](slice)): Don't assume the closure implements...
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sat, 17 Dec 2005 15:36:35 +0000 (15:36 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sat, 17 Dec 2005 15:36:35 +0000 (15:36 +0000)
commitad816b52a4de81b2cd0c1ce44347b2d6574bf19d
treeb7bbb2bb6c7618bff24edb77f378cb75b303ee95
parent24bd1a0b27fc7ea64a1bec8eca37abc13cff4178
valarray_after.h (_Expr<>::operator[](slice)): Don't assume the closure implements general indexing...

        * include/bits/valarray_after.h (_Expr<>::operator[](slice)):
        Don't assume the closure implements general indexing, as a matter
        of fact, most of them don't.
        (_Expr<>::operator[](const gslice&)): Likewise.
        (_Expr<>::operator[](const valarray<bool>&)): Likewise.
        (_Expr<>::operator[](const valarray<size_t>&)): Likewise.
        (_Expr<>::shift): Fix thinko.
        (_Expr<>::cshift): Likewise.
        (_Expr<>::apply): Likewise.

From-SVN: r108714
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/valarray_after.h