Skip to content
Snippets Groups Projects
Commit ad816b52 authored by Gabriel Dos Reis's avatar Gabriel Dos Reis Committed by Gabriel Dos Reis
Browse files

valarray_after.h (_Expr<>::operator[](slice)): Don't assume the closure...

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
parent 24bd1a0b
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment