added effective c++ self study code piece