I have this pimpl design where the implementation classes are polymorphic but the interfaces are supposed to just contain a pointer, making them polymorphic somewhat defeats the purpose of the design.
in a project we want to wrap the Boost Asio socket in a way, that the using class or the wrapping .h does not 开发者_开发百科have to include the boost headers.