How to pass constructor parameters when using boost::di for making singleton

后端 未结 0 1120
囚心锁ツ
囚心锁ツ 2021-01-05 05:15

I am new to dependency injection frameworks. In the following code when I try to make the Child object as singleton, it gives errors and does not compile (see code below).

相关标签:
回答
  • 消灭零回复
提交回复
热议问题