mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 04:34:40 +03:00
book: english typo (#79)
This commit is contained in:
committed by
Ou Changkun
parent
0aa031f0f6
commit
8767bb89c4
@@ -61,7 +61,7 @@ int main() {
|
||||
std::cout << "NULL == nullptr" << std::endl;
|
||||
|
||||
foo(0); // will call foo(int)
|
||||
// foo(NULL); // doen't compile
|
||||
// foo(NULL); // doesn't compile
|
||||
foo(nullptr); // will call foo(char*)
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user