mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-14 23:33:15 +00:00
Allow compound literals to access fields through using
This commit is contained in:
@@ -53,6 +53,11 @@ struct TypeIsPointer<T *> {
|
||||
enum {value = true};
|
||||
};
|
||||
|
||||
template <typename T> struct TypeIsPtrSizedInteger { enum {value = false}; };
|
||||
template <> struct TypeIsPtrSizedInteger<isize> { enum {value = true}; };
|
||||
template <> struct TypeIsPtrSizedInteger<usize> { enum {value = true}; };
|
||||
|
||||
|
||||
#include "unicode.cpp"
|
||||
#include "array.cpp"
|
||||
#include "threading.cpp"
|
||||
|
||||
Reference in New Issue
Block a user