add operators for Attr<T>,Attr<U> and Attr<T>,U