Diff of /cmajor++/Cm/Cm.Core/Object.hpp [r301] .. [r302]  Maximize  Restore

  Switch to side-by-side view

--- a/cmajor++/Cm/Cm.Core/Object.hpp
+++ b/cmajor++/Cm/Cm.Core/Object.hpp
@@ -83,7 +83,23 @@
 class Concept;
 typedef std::shared_ptr<Concept> ConceptPtr;
 
-enum class ObjectKind { namespace_, external_constant, constant, value, enumeration, typedef_, class_, constructor, assignment, destructor, function, variable, object };
+enum class ObjectKind 
+{ 
+    namespace_, 
+    external_constant, 
+    constant, 
+    value, 
+    enumeration, 
+    typedef_, 
+    class_, 
+    delegate_, 
+    constructor, 
+    assignment, 
+    destructor, 
+    function, 
+    variable, 
+    object
+};
 
 enum class TypeCheckingPhase { not_typechecked, typechecking_started, typechecking_complete };
 
@@ -195,6 +211,7 @@
     virtual bool IsClassType() const { return false; }
     virtual bool IsClassTemplateReference() const { return false; }
     virtual bool IsDelegateType() const { return false; }
+    virtual bool IsFunctionType() const { return false; }
     virtual bool IsClassDelegateType() const { return false; }
     virtual bool IsTypenameType() const { return false; }
     virtual bool IsBoundTemplateParameter() const { return false; }

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks