Key value class for contacts. More...
#include <ContactKey.hpp>
Public Member Functions | |
constexpr | ContactKey (ContactCounter fp1, ContactCounter fp2) noexcept |
Initializing constructor. | |
constexpr ContactCounter | GetMin () const noexcept |
Gets the minimum index value. | |
constexpr ContactCounter | GetMax () const noexcept |
Gets the maximum index value. | |
Private Attributes | |
std::pair< ContactCounter, ContactCounter > | m_ids |
Contact counter ID pair. More... | |
Key value class for contacts.
|
private |
Contact counter ID pair.
std::pair
given that std::minmax
returns this type making it the most natural type for this class.