mrdocs::CompareDerived
Compares two polymorphic objects that have visit functions
Synopses
Declared in <mrdocs/ADT/Polymorphic.hpp>
Compares two polymorphic objects that have visit functions
template<class Base>
requires (!detail::IsPolymorphic<Base>) && detail::CanVisitCompare<Base>
auto
CompareDerived(
Base const& lhs,
Base const& rhs);
Compares two polymorphic objects that have visit functions
template<class Base>
requires detail::CanVisitCompare<Base>
auto
CompareDerived(
Polymorphic<Base> const& lhs,
Polymorphic<Base> const& rhs);
Parameters
Name |
Description |
lhs |
The first Polymorphic to compare. |
rhs |
The second Polymorphic to compare. |
Created with MrDocs