MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / operator==

Function operator==

libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:199–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197// allocators are "equal" whenever memory allocated with one can be deallocated with the other
198template<class T>
199inline bool operator==(const spp_::spp_allocator<T> &a, const spp_::spp_allocator<T> &b)
200{
201 return a.space() == b.space();
202}
203
204template<class T>
205inline bool operator!=(const spp_::spp_allocator<T> &a, const spp_::spp_allocator<T> &b)

Callers

nothing calls this directly

Calls 1

spaceMethod · 0.80

Tested by

no test coverage detected