Open
Description
openedon Jun 4, 2024
The service registry has a dependency on type_index
which requires RTTI, so the code currently polyfills this via: https://github.com/cppalliance/http_proto/blob/develop/include/boost/http_proto/detail/type_index.hpp
This incurs extra maintenance burden not to mention the introduction of a downcast
helper, which was created to facilitate the use-case where a derived service
object uses virtual
inheritance.
It'd be good to compare our implementation against the one in Asio, which seems to only return void*
in the case of -fno-rtti
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels