effective cpp

some small practice from 《effective cpp》