DI in c++ hurt by lack of good libraries?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • kangaru

    🦘 A dependency injection container for C++11, C++14 and later

    For example, in my game engine, the service configuration is in separated headers, and only the places that I'm using the library directly need those headers. See the page 13. Structuring Projects, this is where I'm talking about it.

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • Ichor

    C++20 Microservice Bootstrapping Framework

    Kind of tooting my own horn here, but I agree with you and have therefore written my own DI-esque library, Ichor. It does support the use-case of resolve-per-graph, but does this through what Ichor calls filters. Essentially, every created dependency can have a custom filter installed that allows run-time control of which requesting entities are requesting it. The repository has some code examples for you to look at. I'm pretty (but not completely) happy with it.

  • Experimental Boost.DI

    C++14 Dependency Injection Library

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Dependency injection

    4 projects | /r/QtFramework | 23 Jul 2022
  • Dependency injection with c++

    3 projects | /r/cpp_questions | 25 May 2022
  • How to define API stability for a C++ library?

    2 projects | /r/cpp | 26 Feb 2023
  • Architecture of a Qt application

    2 projects | /r/cpp_questions | 5 May 2022
  • Outcome enters sustaining phase, goes ABI stable

    4 projects | /r/cpp | 10 Jan 2022

Did you konow that C++ is
the 6th most popular programming language
based on number of metions?