Uri class and parser

Jonathan M Davis jmdavisProg at gmx.com
Thu Oct 25 10:14:44 PDT 2012


On Thursday, October 25, 2012 15:59:39 Jens Mueller wrote:
> * Should URIs be only movable? Then you should add
> @disable this(this);

I'd be shocked if that were appropriate. Disabling the init property like that 
should be done extremely rarely and only if you need to. It's problematic that
that feature exists at all.

> * Regarding documentation. Please state whether it works in CTFE. Probably
> add some unittests.

If it states that it works in CTFE, it needs unit tests to verify it.

> I hope the module makes it into Phobos. I suggest std.net.uri.
> Thank you very much for contributing.

We have std.uri already, so presumably, it would go there.

- Jonathan M Davis


More information about the Digitalmars-d mailing list