|
capydi
|
Concept and utilities for creational (factory/constructor) configurations. More...
#include "capydi/configs/ConfigType.hpp"#include <capymeta/primitives/referencing/Reference.hpp>#include <capymeta/primitives/Pack.hpp>

Go to the source code of this file.
Classes | |
| struct | capy::di::IsCreationalConfig< Config > |
| Type trait that checks if a type is a CreationalConfig. More... | |
Namespaces | |
| namespace | capy |
| namespace | capy::di |
Concepts | |
| concept | capy::di::CreationalConfig |
| Concept for configurations that handle dependency creation and instantiation. | |
Typedefs | |
| template<CreationalConfig Config> | |
| using | capy::di::central_type_t = typename Config::CentralType |
| Helper alias to extract the central type from a CreationalConfig. | |
| template<CreationalConfig Config> | |
| using | capy::di::resolution_keys_pack_t = typename Config::ResolutionKeysPack |
| Helper alias to extract the resolution keys from a CreationalConfig. | |
| template<CreationalConfig Config> | |
| using | capy::di::dependencies_pack_t = typename Config::DependenciesPack |
Concept and utilities for creational (factory/constructor) configurations.
Creational configurations handle object instantiation and creation patterns. They are responsible for providing the initial instances that may then be passed through chainable (decorator) configurations.