An straightforward deduplicator for scalar values. It does not implement any special operations besides deduplication. Unlike MDE, this does NOT enforce constness on the data items registered. However, a mutable access must always be marked.
More...
template<
typename PropertyT,
typename PropertyHash = DefaultHash<PropertyT>,
typename PropertyEqual = DefaultEqual<PropertyT>,
typename PropertyPrinter = DefaultPrinter<PropertyT>>
struct mde::Deduplicator< PropertyT, PropertyHash, PropertyEqual, PropertyPrinter >
An straightforward deduplicator for scalar values. It does not implement any special operations besides deduplication. Unlike MDE, this does NOT enforce constness on the data items registered. However, a mutable access must always be marked.
- Template Parameters
-
| PropertyT | The type of the property. The property type must satisfy the following:
- It must be hashable with std::hash
- It must be less-than comparable
- It can be checked for equality
|
| PropertyLess | Custom less-than comparator (if required) |
| PropertyEqual | Custom equality comaparator (if required) |
| PropertyPrinter | PropertyT string representation generator |
Definition at line 2463 of file mde.hpp.