From 8fb0812c4c43f08a51a74e96c369c4ee56616e9a Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 2 Apr 2015 10:32:59 +0800 Subject: Hacked up handling of Sized (handled VERY similar to other .. traits) --- src/types.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/types.hpp') diff --git a/src/types.hpp b/src/types.hpp index 443f9912..7c026500 100644 --- a/src/types.hpp +++ b/src/types.hpp @@ -175,6 +175,7 @@ public: bool is_wildcard() const { return m_class == ANY; } bool is_unit() const { return m_class == UNIT; } + bool is_primitive() const { return m_class == PRIMITIVE; } bool is_path() const { return m_class == PATH; } bool is_type_param() const { return m_class == GENERIC; } bool is_reference() const { return m_class == REFERENCE; } -- cgit v1.2.3