Aleksey Gurtovoy <[EMAIL PROTECTED]> writes: > I was talking about pimpl as described here - > http://www.gotw.ca/gotw/024.htm. > >> I need to be able to plug in different >> runtime-polymorphic implementations behind the handle classes I'm >> defining. > > Sounds like a job for an interface class + a factory function, unless your > objects need to be passed by value.
Yes, that's what I wanted. > In any case, IMO the latter one is more > correctly described as "handle/body". I can never keep all these design patterns straight in my mind; many are so similar. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost