
12 Oct
2004
12 Oct
'04
4:54 a.m.
David Abrahams wrote:
FWIW, we didn't cover as_sequence in the book because we really couldn't come up with a use case that justified the non-uniformity in generic programs. If the type you pass happens to be a sequence already it gets treated differently :(.
I don't quite understand your negative reaction on difference. A lot of things are different :) If you couldn't find a good use case for generic programs, may be we could try find something interesting for "real" (I mean not generic) programs? -- Alexander Nasonov