boost-ext / di

C++14 Dependency Injection Library
https://boost-ext.github.io/di
1.14k stars 138 forks source link

Use std::integer_sequence. #426

Closed pck closed 5 years ago

pck commented 5 years ago

Problem: BOOST_DI_CFG_CTOR_LIMIT_SIZE cannot be increased with gcc 9 and 8.

Issue #273 suggests to "#define __has_builtin(...) 1", but that doesn't work either. Apparently the original builtin is no longer available.

Solution: #include <utility> when increasing Increase BOOST_DI_CFG_CTOR_LIMIT_SIZE and reuse std::integer_sequence.

Issue: #273 #271

krzysztof-jusiak commented 5 years ago

Thanks @pck