39 #ifndef BLOCXX_STACK_HPP_INCLUDE_GUARD_ 40 #define BLOCXX_STACK_HPP_INCLUDE_GUARD_ 41 #include "blocxx/BLOCXX_config.h" 58 const_reference
top()
const {
return this->
back(); }
64 return (i >= 0) ?
static_cast<int>(
size()) - i : -1;
const_iterator find(const T &x, const_iterator first, const_iterator last) const
Find element x in the array range specified by the first and last iterators.
const_reference top() const
Array<> wraps std::vector<> in COWReference<> adding ref counting and copy on write capability...
Array< T >::const_reference const_reference
int search(const T &x) const
void push_back(const T &x)
Append an element to the end of the Array.
void pop_back()
Remove the last element of the Array.
V::const_reference const_reference
Array< T >::size_type size_type
Array< T >::reference reference