again compilation error with named operator

Patrick Oppenlander pattyo.lists@gmail.com
Mon Aug 1 01:19:00 GMT 2011


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



More information about the Gcc-help mailing list