From the error message you provided it looks like you need to change the arguments of your operator ==
function from Myclass &
to const Myclass &
.
solved C++ Constructor and vector, iterator
From the error message you provided it looks like you need to change the arguments of your operator ==
function from Myclass &
to const Myclass &
.
solved C++ Constructor and vector, iterator