You could try the "update the return value as you go" scheme:
ReturnType foo()
{
ReturnType return_val = a;
try{
return_val = b;
if...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: monarch_dodra Search: Search took 0.13 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |