Exactly Replicating a Function's Signature?

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Jan 19 21:04:48 PST 2011

On 1/20/11, %u <wfunction at hotmail.com> wrote:
> No... why? ref would be just like const -- so your parameter's data type
> could be
> ref(const(string)).

ref(const(immutable(string)[])) ?

That's crazy!

Anyway I don't really know what we're talking about anymore. :)

The string mixin solution provided by wrzosk is similar to what I came
up with. Maybe someone who wrote those templates can help out.

More information about the Digitalmars-d-learn mailing list