mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 17:34:34 +00:00
Correct mpsc_dequeue
This commit is contained in:
@@ -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