Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request etl::message_router virtual inheritance #824

Open
edobez opened this issue Jan 23, 2024 · 2 comments
Open

Feature Request etl::message_router virtual inheritance #824

edobez opened this issue Jan 23, 2024 · 2 comments
Assignees

Comments

@edobez
Copy link

edobez commented Jan 23, 2024

Similar to #384, would be nice to have a virtual inheritance or templated base class for etl::message_router as well.
This would allow to create custom interface classes for certain kinds of routers.

For what I saw having a templated base class as for etl::message won't work with the pre-C++17 implementation, because supposedly the template argument for the base class should have a default value and that requires a specific ordering of such arguments.

Probably the virtual inheritance solution would work. Why was it discarded for the related issue?

@jwellbelove
Copy link
Contributor

For what I saw having a templated base class as for etl::message won't work with the pre-C++17 implementation

Did you mean etl::message_router?

@edobez
Copy link
Author

edobez commented Jan 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants