Correct mpsc_dequeue

This commit is contained in:
gingerBill
2023-01-12 12:59:09 +00:00
parent c15db05199
commit b470ceb470
7 changed files with 37 additions and 33 deletions

View File

@@ -1,14 +1,3 @@
template <typename T>
struct TypeIsPointer {
enum {value = false};
};
template <typename T>
struct TypeIsPointer<T *> {
enum {value = true};
};
template <typename T>
struct PtrSet {
static_assert(TypeIsPointer<T>::value, "PtrSet::T must be a pointer");