Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-09-07 07:17:59


Tim Robertson <timr_at_[hidden]> writes:

> Actually...I think this is a bug in the is_convertible<> implementation.
>
> Tonight, I wrote two versions of the test program -- one that uses
> boost::is_convertible<>, another that uses my own implementation of
> the convertibility test (and my own implementation of enable_if<>).
> My implementation compiles and works as expected (g++ 4.0.0), whereas
> the boost::enable_if<> version fails to compile.
>
> I'm going to try to attach both pieces of test code, so that they come
> through correctly. If you would like me to send these directly to
> you, or report a bug, let me know.

I think you'd better check CVS first:

----------------------------
revision 1.35
date: 2005/11/12 17:28:37; author: johnmaddock; state: Exp; lines: +17 -13
Make is_base_of<T,T>::value true for all types T, as per TR1.
Make is_convertible<T, void>::value true for all types T, as per TR1.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net