wook815 / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

CHECK does not work with "nullptr" #102

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. CHECK_NE(myptr, nullptr);

What is the expected output? What do you see instead?
The statement does not compile.
"ambiguous overload for operator<<"

What version of the product are you using? On what operating system?
0.3.1

Original issue reported on code.google.com by madreneg...@gmx.de on 4 Oct 2011 at 9:41

GoogleCodeExporter commented 8 years ago
You may be able to use CHECK_NOTNULL ?

Original comment by shinichi...@gmail.com on 23 Jan 2013 at 5:32