From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-03-20 13:23:03
Yitzhak Sapir wrote:
> I couldn't get it to work for MSVC6. In fact, I had problems
> calling a templated function in sizeof in a a class definition.
> The solution I had sent here about a week ago makes use of a
> bug similar to the one we had before. In particular, the
> following function: template <class T> T* make_tptr(wraps<T>);
> is instantiated as T** make_tptr(wraps<T*>); when called as
> I also tried an alternative implementation of is_class that
> is based on inheritance. It doesn't work with MSVC6.5 though.
I posted an implementation that works under Comeau C/C++
184.108.40.206, gcc 2.95.3-5, MSVC 6.5 and VC 7.0, see
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk