Guest User

Untitled

a guest
Dec 12th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. bool Foo(Bar* b)
  2. {
  3. if(b == nullptr) {
  4. return false;
  5. }
  6. // Do stuff
  7. return true;
  8. }
  9.  
  10. #if __cplusplus <= 199711L
  11. #define nullptr (0)
  12. #include <stdint.h>
  13. #else
  14. #include <cstdint>
  15. #endif // End if C++03
Add Comment
Please, Sign In to add comment