Use operator overloading for conn_eq

C++ is herd