Getting a class' name, but not fully qualified?

w0rp devw0rp at gmail.com
Fri Mar 28 17:30:34 PDT 2014


On Friday, 28 March 2014 at 20:47:39 UTC, JR wrote:
> 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.)

Oh yes, that is a bug. There's always at least one bug in an 
example.


More information about the Digitalmars-d-learn mailing list