From: Nelson, E. - 2 <eri...@ba...> - 2010-02-04 16:13:28
|
After looking at it a little more, the request/response typedefs in 'basic_server' are coupled to the request/response types in class 'connection', and couldn't possibly be anything other than 'basic_request' and 'basic_response'. It seems to me that if the 'Tag' template arg is exclusively used to drive the request and response types. If the 'Tag' template arg was replaced with 'Request' and 'Response' template args in both the basic_server and connection classes, the type coupling could be factored out. I know this is all under development, and the design is a work in progress... it could be that this doesn't work. Erik |