boost::capy::execution_context::destroy

Destroy all services.

Synopsis

void
destroy() noexcept;

Description

Deletes all services in reverse order of creation. Derived classes should call this as the final step of destruction. This function is idempotent; subsequent calls have no effect.

Preconditions

  • `shutdown()` has been called.

Effects

All services are deleted and removed from the container.

Postconditions

  • The service container is empty.

Exception Safety

No‐throw guarantee.

Thread Safety

Not thread‐safe. Must not be called concurrently with other operations on this execution_context.

Created with MrDocs