null this, classes, methods and "null this" assertion

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 10 19:28:37 PDT 2015


On Sat, 11 Apr 2015 02:19:50 +0000, Meta wrote:

> As an aside, you could easily make length a UFCS function that avoids
> the null check.

sure i can workaround the check. but this makes my code messier, as some 
class methods are now defined outside the class.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150411/1aacc0b3/attachment.sig>


More information about the Digitalmars-d mailing list