mrdocs::operator==

Equality comparison of two polymorphic objects.

Synopsis

template<class Base>
requires detail::CanVisitCompare<Base>
bool
operator==(
    Polymorphic<Base> const& lhs,
    Polymorphic<Base> const& rhs);

Return Value

true when objects compare equal.

Parameters

Name

Description

lhs

The left operand

rhs

The right operand

Created with MrDocs