Getting a class' name, but not fully qualified?

JR zorael at gmail.com
Fri Mar 28 13:47:37 PDT 2014


On Friday, 28 March 2014 at 13:42:43 UTC, w0rp wrote:
>     size_t dotIndex = qualName.retro.countUntil('.');
>
>     if (dotIndex < 0) {

size_t is unsigned. :3

(So ptrdiff_t -- or simply auto.)


More information about the Digitalmars-d-learn mailing list