Listing 2: The code from Listing 1 using the application code interface

MyClass::myFunc()
{
  // WATCH@
  SomeClass sc;
  ....
  ....
}
— End of Listing —