Use backend global concept on template args

Wire the concept into the rest of the tree, being careful to avoid demanding the
result of fixed-pointing computation while tying the knot.
This commit is contained in:
Nathaniel Wesley Filardo
2021-08-23 21:26:56 +01:00
committed by Nathaniel Wesley Filardo
parent e530f5629a
commit 2be44d2e6f
6 changed files with 22 additions and 17 deletions

View File

@@ -59,7 +59,7 @@ namespace snmalloc
* core allocator must be provided externally by invoking the `init` method
* on this class *before* any allocation-related methods are called.
*/
template<class SharedStateHandle>
template<SNMALLOC_CONCEPT(ConceptBackendGlobals) SharedStateHandle>
class LocalAllocator
{
public: