acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
compare_elements.h
1// From _collection.h by camilo on 2022-10-23 23:33 <3ThomasBorregaardSorensen!!
2#pragma once
3
4
5//template<class TYPE, class ARG_TYPE>
6//bool CompareElements(const TYPE * pElement1, const ARG_TYPE pElement2)
7//{
8//
9// ENSURE(pElement1 != nullptr && pElement2 != nullptr);
10// ASSERT(is_memory_segment_ok(pElement1, sizeof(TYPE), false));
11// ASSERT(is_memory_segment_ok(pElement2, sizeof(ARG_TYPE), false));
12//
13// return *pElement1 == *pElement2;
14//
15//}
16
17
18