Add reference type support for function signatures (#253)

This commit is contained in:
ζeh Matt
2019-08-20 19:29:00 +02:00
committed by Petr Kobalicek
parent 4da474ac9a
commit a433d4b410

View File

@@ -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 =