28 static void Register(TProviderType &instance)
32 auto it = std::ranges::lower_bound(providers, &instance,
typename TProviderType::ProviderSorter());
33 providers.insert(it, &instance);
36 static void Unregister(TProviderType &instance)
39 providers.erase(std::find(std::begin(providers), std::end(providers), &instance));
48 static std::vector<TProviderType *> providers{};