title: In C++, is there to return out of a nested function that will end the parent function?
body: <p>I want something like this to happen:</p>
  
  <pre><code>void a(){
      b()
      // if condition met in b(), exit out of this function also
  }
  void b(){
      if(condition){
          super return
          // also returns out of function a
      }
  }
  </code></pre>
  
  <p>I can't seem to think of a way to do this. Any help would be appreciated. Thanks!</p>