What features of D are you using now which you thought you'd never goint to use?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Jun 22 18:34:52 PDT 2013
On 6/22/13 2:58 PM, monarch_dodra wrote:
> long story short: we don't have rfind. C++ does.
We do, just that it's for random-access ranges. C++ offers it for
bidirectional ranges too. We could of course support it if bidirectional
ranges were required to have something like r1.before(r2) that, assuming
r2 is reachable from r1, returns the portion in r1 that's before r2.
Andrei
More information about the Digitalmars-d
mailing list