i am working on copy constructors now and just wanted to see if i correctly did this. a temporary scope is introduced to make one of the pointers go bad. if im not testing this right please let me know. im temporarily editing out the copy constructor to see the different results.
Note that there is no need for a destructor now. The scoped_ptr will automatically release the memory. This also prevents the class from being accidentally copied, thus preventing the memory management problems, if a copy constructor is not defined. This is because scoped_ptr is not copyable.