-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CHECK_XX variants do not compile if nullptr is an argument #341
Comments
bretmckee
added a commit
to bretmckee/glog
that referenced
this issue
Jul 6, 2018
This allows CHECK_NE(foo, nullptr) to compile and produces "nullptr" for the string representation of nullptr.
bretmckee
added a commit
to bretmckee/glog
that referenced
this issue
May 24, 2019
This allows CHECK_NE(foo, nullptr) to compile and produces "nullptr" for the string representation of nullptr.
sergiud
pushed a commit
to sergiud/glog
that referenced
this issue
Apr 8, 2021
This allows CHECK_NE(foo, nullptr) to compile and produces "nullptr" for the string representation of nullptr.
sergiud
pushed a commit
to sergiud/glog
that referenced
this issue
Apr 8, 2021
This allows CHECK_NE(foo, nullptr) to compile and produces "nullptr" for the string representation of nullptr.
sergiud
pushed a commit
to sergiud/glog
that referenced
this issue
Apr 8, 2021
This allows CHECK_NE(foo, nullptr) to compile and produces "nullptr" for the string representation of nullptr.
sergiud
pushed a commit
to sergiud/glog
that referenced
this issue
Apr 8, 2021
This allows CHECK_NE(foo, nullptr) to compile and produces "nullptr" for the string representation of nullptr.
sergiud
pushed a commit
to sergiud/glog
that referenced
this issue
Apr 9, 2021
This allows CHECK_NE(foo, nullptr) to compile and produces "nullptr" for the string representation of nullptr.
sergiud
added a commit
that referenced
this issue
Apr 12, 2021
CHECK support for nullptr (fixes #341)
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This prevents things like:
CHECK_NE(ptr, nullptr);
from compiling
The text was updated successfully, but these errors were encountered: