little optimized
Merge remote-tracking branch 'origin/master' into master-c++11
sync with c++11