diff options
Diffstat (limited to 'include/core/Dictionary.hpp')
-rw-r--r-- | include/core/Dictionary.hpp | 5 |
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; |