in ippdme/ippFoo.h class ippFoo { public : ippFoo(); }
in ippFoo.cpp #include "stdafx.h" #include "ippdme/ippFoo.h"
if ( i == 0 ) { g(); } else { for ( int j=0;j<k;j++) { func(i,j); } }than
if ( i == 0 ) g(); else for ( int j=0;j<k;j++) func(i,j);
ippCommandPtr pCommand = get_some_command(); ippGotoCommand* pGotoCommand = (ippGotoCommand*) pCommand;and prefer the form
ippCommandPtr pCommand = get_some_command(); ippGotoCommandPtr pGotoCommand = static_cast<ippGotoCommand*>(pCommand.get());