25 namespace Configuration {
28 void Configuration::declareDependency() {
30 manager.registerConfiguration<T>();
35 T& Configuration::getDependency() {
37 return manager.getConfiguration<T>();
41 const T& Configuration::getDependency()
const {
43 return manager.getConfiguration<T>();
static ConfigManager & getInstance(long id)
Returns a reference to the ConfigManager with the given ID.
std::set< std::type_index > m_dependencies