mCRL2
|
A deque class in which aterms can be stored. More...
#include <stack.h>
Public Types | |
typedef Container::allocator_type | allocator_type |
Standard typedefs. | |
typedef Container::value_type | value_type |
typedef Container::size_type | size_type |
typedef Container::reference | reference |
typedef Container::const_reference | const_reference |
typedef Container::iterator | iterator |
typedef Container::const_iterator | const_iterator |
Public Member Functions | |
stack (const Container &cont=Container()) | |
Constructor. | |
stack (Container &&cont) | |
Constructor. | |
stack (const stack &other)=default | |
stack (stack &&other)=default | |
template<class InputIt > | |
stack (InputIt first, InputIt last) | |
Constructor. | |
template<class InputIterator > | |
stack (InputIterator first, InputIterator last, const allocator_type &alloc=allocator_type()) | |
Constructor. | |
template<class Alloc > | |
stack (const Alloc &alloc) | |
template<class Alloc > | |
stack (const Container &cont, const Alloc &alloc) | |
template<class Alloc > | |
stack (Container &&cont, const Alloc &alloc) | |
template<class Alloc > | |
stack (const stack &other, const Alloc &alloc) | |
template<class Alloc > | |
stack (stack &&other, const Alloc &alloc) | |
template<class InputIt , class Alloc > | |
stack (InputIt first, InputIt last, const Alloc &alloc) | |
stack & | operator= (const stack &other)=default |
Copy assignment operator. | |
stack & | operator= (stack &&other)=default |
Move assignment operator. | |
~stack ()=default | |
Standard destructor. | |
reference | top () |
const_reference | top () const |
bool | empty () const |
size_type | size () const |
void | push (const value_type &value) |
void | push (value_type &&value) |
template<class... Args> | |
void | emplace (Args &&... args) |
void | pop () |
void | swap (stack &other) noexcept |
void | mark (std::stack< std::reference_wrapper< detail::_aterm > > &todo) const |
Private Attributes | |
Container | m_container |
A deque class in which aterms can be stored.
typedef Container::allocator_type atermpp::stack< T, Container >::allocator_type |
typedef Container::const_iterator atermpp::stack< T, Container >::const_iterator |
typedef Container::const_reference atermpp::stack< T, Container >::const_reference |
typedef Container::iterator atermpp::stack< T, Container >::iterator |
typedef Container::reference atermpp::stack< T, Container >::reference |
typedef Container::size_type atermpp::stack< T, Container >::size_type |
typedef Container::value_type atermpp::stack< T, Container >::value_type |
|
inlineexplicit |
|
inlineexplicit |
|
default |
|
default |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
Standard destructor.
|
inline |
|
inline |
|
inline |
|
default |
Copy assignment operator.
|
default |
Move assignment operator.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
private |