Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool Foo(Bar* b)
- {
- if(b == nullptr) {
- return false;
- }
- // Do stuff
- return true;
- }
- #if __cplusplus <= 199711L
- #define nullptr (0)
- #include <stdint.h>
- #else
- #include <cstdint>
- #endif // End if C++03
Add Comment
Please, Sign In to add comment