This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with binary member and friend operator in template class
- From: John Love-Jensen <eljay at adobe dot com>
- To: Georg Hager <georg dot hager at rrze dot uni-erlangen dot de>, <gcc-help at gnu dot org>
- Date: Mon, 30 Jan 2006 06:43:34 -0600
- Subject: Re: Problems with binary member and friend operator in template class
Hi Georg,
Try this:
template <typename T2> friend P<T2> operator+(T2, const P<T2>&); // line 15
HTH,
--Eljay