implementation and experiments of "effective C++"