$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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
> make_tptr(wraps<X&>)
> 
> 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++
4.2.45.2, gcc 2.95.3-5, MSVC 6.5 and VC 7.0, see
http://groups.google.com/groups?hl=en&ie=ISO-8859-1&oe=ISO-8859-1&selm=81667
c9.0203181152.3c09e9b1%40posting.google.com
Aleksey