Late Binding feature
mostafajalal20 opened this issue · 0 comments
mostafajalal20 commented
Expected Behavior
how can we use make_injector without binding in compile time and pass to another place for binding
int main() {
auto injector = di::make_injector();
some_function_for_binding(injector);
}
I want to bind it in another place.Actually I want to be decided at runtime which class binding to this injector.
- Version:
- Platform: Linux
- Subsystem: Debian