lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi!

2012/8/7 Coda Highland <chighland@gmail.com>:
>>    /*-----------------------------------------------------------------------
>>    ; [1] - please, please, please, ifyou are writing in C, use NULL instead
>>    ;       of a 0.  Even though NULL is 0, using NULL portrays the intent
>>    ;       better than a 0.  It also stands out more.
>>    ;
>>    ;       If you are writing in C++, you have my condolences. [2]
>>    ;
>>    ; [2] - Okay, my bias is showing through.  Sorry.
>>    ;----------------------------------------------------------------------*/
>
> If you are writing in C++, you have nullptr that's even better than NULL. :P

Well, that's C++11, isn't it? If you can use that in your daily work: Lucky you.

Regards,
Matthias