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;
void push_back(const T &x)
Append an element to the end of the Array.
V::const_reference const_reference
Array()
Default Constructor.
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.
void pop_back()
Remove the last element of the Array.
Array< T >::const_reference const_reference
Array< T >::size_type size_type
int search(const T &x) const
Array< T >::reference reference
const_reference top() const