reserve

void libsemigroups::Action::reserve(size_t val)

Increase the capacity of the Action to a value that is greater or equal to val.

Return

(None)

Complexity

At most linear in the size() of the Action.

Parameters
  • val: new capacity of an action instance.

Exceptions
  • std::length_error: if val is too large.

  • std::bad_alloc: or any exception thrown by the allocators of private data members.