how to overload + operator in template in c++. My code-> i understand operator overloading in general, but problem with template
template<class T> class type
{
template <class X>type& operator+(const type& abc)
{
cout<<this+abc<<endl;
}
};