
15 Sep
2004
15 Sep
'04
8:06 p.m.
From: "Thorsten Ottosen" <nesotto@cs.auc.dk>
"Jeff Flinn" <TriumphSprint2000@hotmail.com> wrote in message
| begin( as_const( as_reverse(x) ) ) | begin( as_reverse( as_const(x) ) )
yes, I think so with some metaprgramming, but its getting quite hard to read compared to the single version.
Those are getting harder to read, but they do offer complete generality. Composing those is straightforward, whereas you could forget the correct order if there was only as_const_reverse(), for example. -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;