This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: empty slices: defined?
> I guess the question I have is what would you do with an empty
> slice? What useful purpose does it serve?
Nobody said it was useful, but that doesn't mean someone won't find a
use for it somewhere. Fortunately, I wasn't asking it if was useful,
just legal ;-)
> In general, valarray is specificed in such a way that its
> implementation shall not check for "boundary" conditions.
I was hoping to get a "the spec says thusly" type of response.
*Where* in the spec does it say it doesn't check for boundary
conditions?