$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: James M. Curran (jamescurran_at_[hidden])
Date: 2000-11-11 16:36:27
   Mark,
 I'm not sure what you are doing wrong, but that struct displays 
correctly in MSVC6's classview window. (VC5 might have choked on it; 
I remember that the classview being more flaky in that release)
> ----- Original Message -----
> From: "Mark Evans" <mark.evans_at_c...>
> To: "David Abrahams" <abrahams_at_m...>
> Sent: Friday, October 27, 2000 7:00 PM
> Subject: Class vs. Struct
> 
> 
> > Another problem in py_cpp is the use of "struct" instead of
> > "class".  This usage causes the class to disappear from the class
> > viewer in MSVC and makes the code harder to navigate.
> >
> > Here's an example of a struct that ought to be a class.
> >
> > template <class PythonType>
> > struct BaseObject : PythonType
> > {
> >     typedef PythonType BasePythonType;
> >
> >     // Initializes type and reference count. All other fields of
> BasePythonType are 0
> >     BaseObject(PyTypeObject* type_object);
> >
> >     // Decrements reference count on the type
> >     ~BaseObject();
> > };
> >
> > Kind regards,
> >
> > Mark Evans
> > mailto:mark.evans_at_c...
> >
> >