Refactor MetaEntry remote_and_sizeclass
Introduce a class that we can use to more completely separate the frontend encoding details from the backend.
This commit is contained in:
committed by
Nathaniel Wesley Filardo
parent
772e46f878
commit
7940fee00c
@@ -24,10 +24,10 @@ namespace snmalloc
|
||||
{
|
||||
{ Meta::set_metaentry(addr, sz, t) } -> ConceptSame<void>;
|
||||
|
||||
{ Meta::template get_metaentry<true>(addr) }
|
||||
{ Meta::template get_metaentry<MetaEntry, true>(addr) }
|
||||
-> ConceptSame<const MetaEntry&>;
|
||||
|
||||
{ Meta::template get_metaentry<false>(addr) }
|
||||
{ Meta::template get_metaentry<MetaEntry, false>(addr) }
|
||||
-> ConceptSame<const MetaEntry&>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user