effective C++ ex 1-13