18#ifndef MCRL2_ATERMPP_STANDARD_CONTAINER_STACK_H
19#define MCRL2_ATERMPP_STANDARD_CONTAINER_STACK_H
50 explicit stack(
const Container& cont = Container())
55 explicit stack( Container&& cont )
63 template<
class InputIt >
64 stack( InputIt first, InputIt last )
69 template <
class InputIterator>
70 stack(InputIterator first, InputIterator last,
75 template<
class Alloc >
76 explicit stack(
const Alloc& alloc )
80 template<
class Alloc >
81 stack(
const Container& cont,
const Alloc& alloc )
85 template<
class Alloc >
86 stack( Container&& cont,
const Alloc& alloc )
90 template<
class Alloc >
95 template<
class Alloc >
100 template<
class InputIt,
class Alloc >
101 stack( InputIt first, InputIt last,
const Alloc& alloc )
144 template<
class... Args >
147 m_container.emplace_back(std::forward<Args>(args)...);
160 void mark(std::stack<std::reference_wrapper<detail::_aterm>>& todo)
const
A deque class in which aterms can be stored.
A deque class in which aterms can be stored.
stack & operator=(stack &&other)=default
Move assignment operator.
Container::size_type size_type
stack(InputIt first, InputIt last, const Alloc &alloc)
stack(const stack &other)=default
stack(InputIt first, InputIt last)
Constructor.
stack(Container &&cont)
Constructor.
stack(const Container &cont, const Alloc &alloc)
stack(stack &&other)=default
stack(Container &&cont, const Alloc &alloc)
Container::iterator iterator
const_reference top() const
stack(const Container &cont=Container())
Constructor.
Container::const_iterator const_iterator
~stack()=default
Standard destructor.
Container::reference reference
Container::allocator_type allocator_type
Standard typedefs.
void push(const value_type &value)
void swap(stack &other) noexcept
Container::const_reference const_reference
stack(const Alloc &alloc)
stack & operator=(const stack &other)=default
Copy assignment operator.
void emplace(Args &&... args)
Container::value_type value_type
void mark(std::stack< std::reference_wrapper< detail::_aterm > > &todo) const
stack(const stack &other, const Alloc &alloc)
stack(stack &&other, const Alloc &alloc)
stack(InputIterator first, InputIterator last, const allocator_type &alloc=allocator_type())
Constructor.
void push(value_type &&value)
The main namespace for the aterm++ library.
void swap(atermpp::unprotected_aterm_core &t1, atermpp::unprotected_aterm_core &t2) noexcept
Swaps two aterms.