mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 12:34:35 +03:00
Add reference type support for function signatures (#253)
This commit is contained in:
@@ -197,6 +197,10 @@ template<typename T> struct IdOfT<T*> {
|
|||||||
enum : uint32_t { kTypeId = kIdUIntPtr };
|
enum : uint32_t { kTypeId = kIdUIntPtr };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template<typename T> struct IdOfT<T&> {
|
||||||
|
enum : uint32_t { kTypeId = kIdUIntPtr };
|
||||||
|
};
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct IdOfIntT {
|
struct IdOfIntT {
|
||||||
static constexpr uint32_t kTypeId =
|
static constexpr uint32_t kTypeId =
|
||||||
|
|||||||
Reference in New Issue
Block a user