From eb1473089bfe9105b3884a490edafeb561df935e Mon Sep 17 00:00:00 2001 From: Joe George Date: Thu, 3 Dec 2015 09:45:09 -0500 Subject: ICE-6897 - Add delegate metadata The "delegate" metadata tag can be applied to interfaces with one operation. In C++ they are mapped to std::function's, in C# delegates. In Java we still generate a interface with one operation, which is a FunctionalInterface. --- cpp/include/Slice/Parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/include/Slice/Parser.h') diff --git a/cpp/include/Slice/Parser.h b/cpp/include/Slice/Parser.h index b2854910d67..4722b625206 100644 --- a/cpp/include/Slice/Parser.h +++ b/cpp/include/Slice/Parser.h @@ -690,6 +690,7 @@ public: virtual std::string kindOf() const; virtual void visit(ParserVisitor*, bool); int compactId() const; + bool isDelegate() const; protected: -- cgit v1.2.3