Boost logo

Boost :

From: Joe Mariadassou (JMariadassou_at_[hidden])
Date: 2000-11-12 18:50:46


IN all probability Mark Evans is not adding the header file to the Headers
folder in the Fileview pane of the Work space.
joe

-----Original Message-----
From: James M. Curran [mailto:jamescurran_at_[hidden]]
Sent: Sunday, 12 November 2000 8:36 AM
To: boost_at_[hidden]
Subject: [boost] Re: Class vs. Struct

   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...
> >
> >


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