Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-23 12:54:50


Rene Rivera <grafik.list_at_[hidden]> writes:

> Of course :-) What I did was this:
>
> template<class Derived, class Base>
> BOOST_DLLEXPORT const void * void_cast_register(
> const Derived * /* dnull = NULL */,
> const Base * /* bnull = NULL */
> ){
> boost::python::detail::force_instantiate(
> void_cast_detail::void_caster_primitive<
> const Derived,
> const Base
> >::instance);
> return & void_cast_detail::void_caster_primitive<
> const Derived,
> const Base
> >::instance;
> }

Ouch! Looks like a nasty bug. If you can generate a small test case
I can pass it directly to their compiler engineer.

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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk