icmp (and friends) should be @nogc. It is the most frequently occurring function blocking use of @nogc in my code.
Surely a string comparison doesn't need to allocate?
Comment #1 by lt.infiltrator — 2015-12-03T15:01:07Z
I think that it does for unicode.
I'm going to close off as INVALID because icmp need unicode.
Comment #2 by ag0aep6g — 2015-12-03T16:06:52Z
Reopening.
std.uni.icmp is only not @nogc, because it may throw a GC allocated Exception. Exceptions that don't rely on the GC are being worked towards (e.g. by making them reference counted), in particular to enable more of Phobos to be @nogc.
Comment #3 by lt.infiltrator — 2015-12-06T14:26:12Z
I was wrong in closing this as INVALID; or at all. I don't even know what I was thinking. Sorry for the noise.
Comment #4 by github-bugzilla — 2016-12-08T21:09:27Z