Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2004-09-24 15:31:52

"Ben Hutchings" <ben.hutchings_at_[hidden]> wrote in message
> Brian Braatz <brianb_at_[hidden]> wrote:
> [Thomas Witt wrote:]
> > > David Abrahams wrote:
> > > > Reece Dunn <msclrhd_at_[hidden]> writes:
> > > >
> It seems to me that the annoyance of mismatched lifetimes in MFC is
> due to its design as a thin wrapper over the Windows API at a time
> when the language (or at least the MS implementation) did not have
> exceptions. This resulted in the evils of two-phase construction. Qt
> seems to have managed to avoid this, despite not using exceptions, by
> being a more heavyweight wrapper.

That, and the fact that the MFC designers directly mapped API functions to
member functions of the 1st argument type! Hence, the truly mammoth CWnd

Jeff F

Boost list run by bdawes at, gregod at, cpdaniel at, john at