$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Sohail Somani (sohail_at_[hidden])
Date: 2008-03-23 14:33:36
On Sun, 23 Mar 2008 11:15:55 -0800, Robert Ramey wrote:
> base_object refers to void_cast which refers to a static object
> constructed at pre-main time. Look at the definition of base_object.
>
I assume you mean:
template <class Derived, class Base>
BOOST_DLLEXPORT void_caster_primitive<Derived,Base> const&
void_caster_primitive<Derived,Base>::instance
= void_caster_primitive<Derived,Base>::get_instance();
This is not guaranteed to be executed before main since
void_caster_primitive<Derived,Base> requires dynamic initialization. My
guess is that this is the problem.
-- Sohail Somani http://uint32t.blogspot.com