[Nfd-dev] code style rule 3.20

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Oct 30 14:57:41 PDT 2014


Given the amount of code we have, I would suggest we keep both notations as allowed.

> On Oct 30, 2014, at 2:49 PM, Junxiao Shi <shijunxiao at email.arizona.edu> wrote:
> 
> Dear folks
> 
> rule 3.20 states: 0 should be used instead of NULL.
> 
> In C++ 11, a null pointer is typically written as std::nullptr.
> Usage of std::nullptr is already permitted, because it doesn't violate this rule.
> 
> Should we amend this rule as follows?
> "std::nullptr" should be used to represent null pointer.
> 
> Yours, Junxiao
> 
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20141030/1a74ed41/attachment.html>


More information about the Nfd-dev mailing list