1

If a function returns a value indicating success or failure, is there a way to ensure that all callers use or check this value?

I'm looking for something like a compiler warning or a function annotation that can be added to my c++ code, compiled with clang or GCC.

leecbaker
  • 3,611
  • 2
  • 35
  • 51

0 Answers0