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