<p dir="ltr">There is no such thing as std::nullptr.</p>
<p dir="ltr">In C++11 nullptr (without std) is a language keyword, it is *not* part of the standard library. The type of nullptr, on the other hand, is std::nullptr_t, and is part of the standard library.</p>
<p dir="ltr">That being said, I agree with the proposal.</p>
<p dir="ltr">Thanks,<br>
Davide</p>
<br><div class="gmail_quote">On Thu, Oct 30, 2014, 10:49 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu">shijunxiao@email.arizona.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
______________________________<u></u>_________________<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/<u></u>mailman/listinfo/nfd-dev</a><br>
</blockquote></div>