practices in cpp_primer