$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Hunter (jdhunter_at_[hidden])
Date: 2001-08-17 09:50:43
I have a some libraries that communicate through a global object that
I want to wrap with boost::python. The 'main' driver code initializes
this object at global scope and the libraries use this instance. I
probably can and should replace this with a singleton design. But,
while I embark on this redesign, I wonder if there is a way to
construct an instance at global scope using boost::python without a
redesign.
I guess there is a good reason why my mother always told me to avoid
global variables...
Thanks,
John Hunter