issue #3470. finish the article
fixed #3470. relaced objective-c patterns with c++11 parterns