-
-
Notifications
You must be signed in to change notification settings - Fork 190
[BUG] use C++11 keyword nullptr #241
Copy link
Copy link
Closed
Labels
bugConfirmed bugs or reports that are very likely to be bugs.Confirmed bugs or reports that are very likely to be bugs.
Description
Activity
Metadata
Metadata
Assignees
Labels
bugConfirmed bugs or reports that are very likely to be bugs.Confirmed bugs or reports that are very likely to be bugs.
Prerequisites
Description
C++ from C++11 onwards has the keyword nullptr to help compiler and developer communicating intent when using null pointers. Use that instead of confusing fellow developers with unusual variants of null.
Steps to Reproduce
n.a.
Expected behavior: Use
nullptrif null pointer is meant.Actual behavior:
0x0is used in huge parts of the codebase.Reproduces how often: always.
Versions
Additional Information
According to #227 C++14 is required for libhttpserver already, so using C++11 features should be fine.