atermpp::vector

Include file:

#include "mcrl2/atermpp/standard_containers/vector.h
class atermpp::vector

A vector class in which aterms can be stored.

Protected types

type atermpp::vector::container_wrapper

typedef for detail::generic_aterm_container< std::vector< detail::reference_aterm< T >, Alloc > >

type atermpp::vector::super

typedef for std::vector< detail::reference_aterm< T >, Alloc >

Public types

type atermpp::vector::allocator_type

typedef for Alloc

Standard typedefs.

type atermpp::vector::size_type

typedef for super::size_type

type atermpp::vector::value_type

typedef for T

Public member functions

vector &operator=(const vector &x) = default

Assignment operator.

vector &operator=(vector &&x) = default

Move assignment operator.

vector()

Default constructor.

vector(const allocator_type &alloc)

Constructor.

vector(size_type n, const allocator_type &alloc = allocator_type())

Constructor.

vector(size_type n, const value_type &val, const allocator_type &alloc = allocator_type())
vector(InputIterator first, InputIterator last, const allocator_type &alloc = allocator_type())

Constructor.

vector(const vector &x)

Constructor.

vector(const vector &x, const allocator_type &alloc)

Constructor.

vector(vector &&x)

Constructor.

vector(vector &&x, const allocator_type &alloc)

Constructor.

vector(std::initializer_list<value_type> il, const allocator_type &alloc = allocator_type())

Constructor. To be done later….

~vector() = default

Standard destructor.