mtx::identifiers::Room class

A room id.

Base classes

class ID
Base class for all the identifiers.

Friends

template<typename Identifier>
auto parse(const std::string& id) -> Identifier
Parses the given string into a Identifier.

Function documentation

template<typename Identifier>
Identifier parse(const std::string& id)

Parses the given string into a Identifier.

Parameters
id String to parse.
Returns The parsed Identifier.
Exceptions
std::invalid_argument in case of invalid input.