Observing Object Lifecycles
Being lazy As a relatively lazy programmer, if the compiler can do something for me I’ll go out of my way to make sure it does. To that end, I prefer to let the compiler take care of implementing constructors, assignment operators, and destructors whenever I can. I just can’t be bothered with all that. To wit: C++ has some fairly complex rules which control when certain constructors or assignment operators are implicitly declared by the compiler....