Re: again compilation error with named operator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29/07/11 17:44, Kai Henning wrote:
template<  typename T>
struct FOO2
{
     typedef T       type;
     operator type() const           { return t->operator type(); }
Why not

operator type() const { return *t; }

        Patrick


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux