mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-07 21:34:14 -04:00
Correct mpsc_dequeue
This commit is contained in:
1 parent
c15db05199
commit
b470ceb470
7 files changed
+37
-33
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user