288b11 define copy constructor if assignment operator is defined

Authored and Committed by Rodolfo Ribeiro Gomes 4 years ago
    define copy constructor if assignment operator is defined
    
    Reason: c++ Rule of 5 (by using copy-swap idiom)