add pop_back/pop_front/push_back/push_front to array, to make it according to doc, fixes #3040

This commit is contained in:
Juan Linietsky
2015-12-12 08:27:30 -03:00
parent a73cf7f794
commit b191e740d2
3 changed files with 29 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public:
bool empty() const;
void clear();
bool is_shared() const;
bool is_shared() const;
bool operator==(const Array& p_array) const;
@ -75,6 +75,10 @@ public:
void erase(const Variant& p_value);
void push_front(const Variant& p_value);
void pop_back();
void pop_front();
Array(const Array& p_from);
Array(bool p_shared=false);
~Array();