adds Array::make and Dictionary::make static methods and has variadic template functions use those
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user