Boost logo

Boost :

From: E. Gladyshev (egladysh_at_[hidden])
Date: 2003-08-01 16:37:29


> Pimpl definitely has its place.

I agree, but boost::threads and boost::gui would be
much better of with ImplTraits, in my opinion.

> If you buy Doug G.'s argument that no application
> will use two
> GUIs at once

No I don't buy Doug's argument at all.
Here is an example.

//customize the edit control to be an eleptical shape.
class ElepticalShapeWin32Impl : public gui::win32
{
  //overload edit control stuff.
};

main()
{
   gui::dialog<gui::win32> myStandardDlg;

...

   gui::dialog<gui::ElepticalShapeWin32Impl>
myFancyDlg;

...

}

Eugene

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


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