Boost logo

Boost :

From: Vladislav Lazarenko (snail_at_[hidden])
Date: 2006-04-08 05:39:29

Felipe Magno de Almeida wrote:
> It uses an emulation on compilers that dont support "native typeof".
> So that it can be used anyway. Now, if the compilers become less
> buggy, then we'll have to fix lots of code because it became an idiom
> relying on a bug-feature, since there isnt any workaround for a
> conforming compiler.

I think when compilers will be less buggy as for this trick, the standard will
describe template friends. Otherwise, why all compilers noted in article has the
same bug?

Anyway, I provided the other solution based on macros. It is not so pretty, but
standard. I also remember that Mayers has some solution with pure virtual
method, I will try to find out.

Thank you for you interest and time taken to read discussion.

-- Vladislav Lazarenko

Boost list run by bdawes at, gregod at, cpdaniel at, john at