dstring support?

Yossarian xtauer01 at stud.fit.vutbr.cz
Sat Mar 29 06:51:28 PDT 2008


Dne Fri, 28 Mar 2008 08:58:08 +0100 Janice Caron <caron800 at googlemail.com>  
napsal/-a:

> 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.

thank you. i've got my own find rewritten for use dstring, but using some  
standard function would be much better.

-- 
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/



More information about the Digitalmars-d mailing list