You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some libraries I'm writing, I'd like to provide multiple versions of my functions with support for static dispatch, but I don't want to take a dependency on syn, and therefore also no dependency on multiversion. However, I'd like to allow my users, some of whom are willing to depend on multiversion, to benefit from static dispatch when calling into my library.
Would it be possible to stabilize the static dispatch interface, and document it, so that I can manually provide functions that are available to multiversion's static dispatch?
The text was updated successfully, but these errors were encountered:
I'm actually working on some fairly large changes, one of which will entirely remove the static dispatch API. Without getting into too much detail, the static dispatch implementation relies on some hacks that are not flexible and have some bad edge cases.
I'm not sure how useful it will be in your particular use case, but the new version will provide some sort of const feature object, that will allow you to do something like
For some libraries I'm writing, I'd like to provide multiple versions of my functions with support for static dispatch, but I don't want to take a dependency on
syn
, and therefore also no dependency onmultiversion
. However, I'd like to allow my users, some of whom are willing to depend onmultiversion
, to benefit from static dispatch when calling into my library.Would it be possible to stabilize the static dispatch interface, and document it, so that I can manually provide functions that are available to
multiversion
's static dispatch?The text was updated successfully, but these errors were encountered: