Contents

SushiEngine::EventBus

is_valid_event_name

constexpr bool is_valid_event_name(std::string_view name) noexcept

Parameters

NameTypeDescription
namestd::string_view

The candidate stable name.

Returns

bool

True for lower-case letters, digits and underscores in two dot-separated parts, the second holding at least one underscore.

Description

Tests a name against <module>.

<noun>_<past-tense verb>.