dstring support?

Janice Caron caron800 at googlemail.com
Fri Mar 28 00:58:08 PDT 2008


Actually, what I'd really like to see is CTFE versions of the
functions in std.string.

Right now, if I want a compile-time find() function, I basically have
to write a new one. The problem is that the existing std.string
functions call other functions that have extern(C) declations, thus
making them unusable at compile time.

Yossarian, you might find that std.algorithm.find() can be used in
place of std.string.find(). It's type-agnostic, and hugely more
powerful.



More information about the Digitalmars-d mailing list