<p dir="ltr">Hi Alex</p>
<p dir="ltr">I'm not saying 0 is forbidden.</p>
<p dir="ltr">My suggestion is: any new code should use nullptr to represent null pointer, instead of 0 or NULL.</p>
<p dir="ltr">Yours, Junxiao</p>
<div class="gmail_quote">On Oct 30, 2014 2:57 PM, "Alex Afanasyev" <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Given the amount of code we have, I would suggest we keep both notations as allowed.</div><br><div><blockquote type="cite"><div>On Oct 30, 2014, at 2:49 PM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:</div><br><div><p>Dear folks</p><p>rule 3.20 states: 0 should be used instead of NULL.</p><p>In C++ 11, a null pointer is typically written as std::nullptr.<br>
Usage of std::nullptr is already permitted, because it doesn't violate this rule.</p><p>Should we amend this rule as follows?<br>
"std::nullptr" should be used to represent null pointer.</p><p>Yours, Junxiao</p>
_______________________________________________<br>Nfd-dev mailing list<br><a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br></div></blockquote></div><br></div></blockquote></div>