reserve

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

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

Complexity

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

Parameters

val – new capacity of an action instance.

Throws
  • std::length_error – if val is too large.

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

Returns

(None)