mrdocs::isSameName

Determine whether two extracted names are the same name.

Synopsis

Declared in <mrdocs/Metadata/Name/NameBase.hpp>

bool
isSameName(
    Name const& a,
    Name const& b);

Description

Two names are the same when they name the same symbol. A name that names no symbol, a fundamental type or a template parameter, is compared as written, prefix by prefix. This is the default equality used when comparing types and template arguments.

Return Value

Whether the two names are the same

Parameters

NameDescription
aOne name
bThe other name