|
Graphle 1.0.0
A C++20 header-only graph library
|
#include <default_storage_provider.hpp>
Public Types | |
| using | not_specialized_tag = void |
The default storage provider is used to provide storage required for graph algorithms when no storage provider is given by the user. It should return an instance (by value or by reference) of a valid storage object for the given storage type when invoked.
Users may change the default storage provider for a given storage type by specializing the template with Overload = overload_mode::USER_PROVIDED. This is useful e.g. if your project uses a specific container type (e.g. Abseil's or Boost's unordered map instead of the default one), and you wish to replace the storage used by graphle with that type globally. It is also possible to just provide a storage provider to the algorithm that needs it to control the storage on a case-by-case basis.
| ST | The storage type that must be provided. |
| Overload | Allows users to specialize this template. |
| Args | Template arguments for the provided storage object (E.g. key and value types for a map storage provider). |
Definition at line 34 of file default_storage_provider.hpp.
| using graphle::store::default_storage_provider< ST, Overload, Args >::not_specialized_tag = void |
Definition at line 35 of file default_storage_provider.hpp.