code_junkie

Super Robust as chrome c++ and portable - tips - help - comments

Nov 10th, 2011
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. doSomethingBad(T * t)
  2. {
  3. if(t == NULL) return ;
  4.  
  5. // do the processing.
  6. }
  7.  
  8. doSomethingBad(T * t)
  9. {
  10. if(t == NULL) ::DebugBreak() ; // it will call the debugger
  11.  
  12. // do the processing.
  13. }
Add Comment
Please, Sign In to add comment