Search

March 24, 2012
General »
This solution creates unnecessary template bloat for every implicit conversion, duplicates compiler logic, and I...
March 24, 2012
General »
[...]

Hmm. I decided that perhaps the full-fledged std.conv.to is a bit of...
March 23, 2012
General »
Proof of concept:

// ctfe-able simple and stupid replace
string replace(string str, string from...
March 23, 2012
General »
I see. An alternative solution (one that does not make AAs depend on Phobos and...
March 23, 2012
General »
No, because of the other rules.

Andrei
March 23, 2012
General »
This will statically allow looking up an int in a T[string].
I don't...
March 23, 2012
General »
Not sure how it's best to address this.

Andrei
March 23, 2012
General »
Casting from char[] to string is not what you want, and .idup is specific to...
March 23, 2012
General »
OK. Would the following be enough?

	template isEquiv(T,U) {
		enum isEquiv = is(immutable(T...
March 23, 2012
General »
druntime mustn't depend on Phobos, and I don't see why it is necessary...
161 162 163 164 165 166 167 168 169 170 171
Next ›   Last »