kostya

Results 17 comments of kostya

@89z this is just one use case which is already supported. I have use cases when I need a very specific item and accessing it with nested structure becoming ugly....

@henrya2 there is a way to do it. You can use [extensible_injector](https://github.com/boost-experimental/di/blob/cpp14/extension/test/injections/extensible_injector.cpp). Basically you are creating one 'core' di and second which is references first one and can use it...

I did some experiments and don't see it working. There is an example with `int`s but it doesn't fork for array. However, you still can use DI for interface bindings...

@krzysztof-jusiak I think boost.di should define it's own aliases for these features

I can do this if you think it is the way to go.

Also, it is happening right into di.hpp ``` #if __has_include() // clang-format on #include #else ```

Temporary fixed with workaround: ``` #if !defined(__builtin_assume) #define __builtin_assume(...) 0 #endif #define __has_builtin(...) 1 #define BOOST_DI_CFG_CTOR_LIMIT_SIZE 17 ```

@cstamatopoulos It is likely VS fails to deduct the type from injector. You can just evaluate all lambdas with injector in your project and define the output type explicitly like...

I think it is ok. There is any other boost di in this world. Also, boost di is fully compatible with boost and implemented with the same license and standards....

@Keeo, I cannot reproduce the problem. Tried to follow your steps but have no warnings or errors. Could you please give more details about your setup or share a project...