Function CE::Diagnostics::next_domain_id

Function Documentation

DomainId CE::Diagnostics::next_domain_id() noexcept

Declaration: [[nodiscard]]

Allocate a process-local monotonically increasing diagnostic ID.

See also

Detailed guide

Returns:

A new nonzero ID, or zero after exhaustion. Thread-safe; does not identify persistent objects across runs.