diamond operator chapter6