"E. Gladyshev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > --- Edward Diener <[EMAIL PROTECTED]> wrote: > > E. Gladyshev wrote: > > > The pImpl technique is an idiom for hiding the > > private methods and data > > members of a class from the view of the user of that > > class. > > By using a predefined ImplTraits you are actually > achiving the same pImpl hiding effect. The user can > just use a predefined ImplTraits class w/o any idea > about its methods.
<snip> He didn't mean just user interest , but completely hiding platform dependent implementation and even interface from compiler. Less dependencies and yes ... again less compile time. With your approach you can hide only implementation of traits in cpp file. PImpl and ImplTraits approaches both have pros and cons. Question is not "what is good for modern c++" but which approach is better for GUI lib. regards, bohdan _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost