mrdocs::Corpus::exists

Return true if an Symbol with the specified symbol ID exists.

Synopsis

Declared in <mrdocs/Corpus.hpp>

bool
exists(SymbolID const& id) const noexcept;

Description

This function uses the find function to locate the Symbol with the specified symbol ID and returns true if it exists, otherwise false.

Return Value

true if an Symbol with the specified symbol ID exists.

Parameters

Name Description

id

A unique identifier for a symbol.

Created with MrDocs