summaryrefslogtreecommitdiffstats
path: root/include/core/Dictionary.hpp
diff options
context:
space:
mode:
authorNickolai Korshunov <n.a.korshunov@gmail.com>2018-04-25 11:40:49 +0300
committerNickolai Korshunov <n.a.korshunov@gmail.com>2018-04-25 11:40:49 +0300
commitef37d8d76e45a8249f34e66dfcc80954fecd5981 (patch)
tree2c155a6f9107b21474e9f1adcb0d4b752bb2e7bc /include/core/Dictionary.hpp
parent876715b610a52749e5cc7824122f892dd430ffab (diff)
parent68ba815bc5c9ffa9494511f9feb8ea36a95369d7 (diff)
downloadredot-cpp-ef37d8d76e45a8249f34e66dfcc80954fecd5981.tar.gz
Merge branch 'master' of https://github.com/GodotNativeTools/godot-cpp
Diffstat (limited to 'include/core/Dictionary.hpp')
-rw-r--r--include/core/Dictionary.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/Dictionary.hpp b/include/core/Dictionary.hpp
index ec496af..613d6ce 100644
--- a/include/core/Dictionary.hpp
+++ b/include/core/Dictionary.hpp
@@ -16,6 +16,11 @@ public:
Dictionary(const Dictionary & other);
Dictionary & operator=(const Dictionary & other);
+ template <class... Args>
+ static Dictionary make(Args... args) {
+ return helpers::add_all(Dictionary(), args...);
+ }
+
void clear();
bool empty() const;