Skip to content

This repository contains my own implementation of C++ dependency injection container (available under source/container folder). It also includes other implementation as boost.di and kangaru for comparison.It also includes other implementation as boost.di and kangaru for comparison.

Notifications You must be signed in to change notification settings

Dragnalith/dependency_injection_experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use generate_graph_cpp.py to regenerate the test: gen_test.h, gen_test.kangaru.h, gen_test.kangaru.2.h, gen_test.manual.hç

The script takes 3 integers as argument:

python generate_graph_cpp.py <layer> <dependency_count> <shared_dependency>

  • layer: the number of layer of the graph. The first layer always has only one class named "MyClass_0_0"
  • dependency_count: How many dependency a generated classes has, except for the last layer which of course does not have any dependency.
  • reuse_dependency: How many dependencies are shared with its neighbor.

About

This repository contains my own implementation of C++ dependency injection container (available under source/container folder). It also includes other implementation as boost.di and kangaru for comparison.It also includes other implementation as boost.di and kangaru for comparison.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published