Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::AlDomainKey Concept Reference

A key of a domain: of an AlDomain, and so an index of a Vector or of a Matrix. More...

#include <al-domain.H>

Concept definition

template<typename T>
concept Aleph::AlDomainKey = std::default_initializable<T> and std::copyable<T>
and std::equality_comparable<T>
A key of a domain: of an AlDomain, and so an index of a Vector or of a Matrix.
Definition al-domain.H:89
and
Check uniqueness with explicit hash + equality functors.

Detailed Description

A key of a domain: of an AlDomain, and so an index of a Vector or of a Matrix.

It is what every domain does with its keys: the hash table that keeps them makes its buckets with the default constructor, copies the keys into them, and compares them with ==. Aleph_Hash checks that a key can be hashed, and says what a key that cannot needs.

See also
AlOrderedDomainKey, for the members that sort the keys

Definition at line 89 of file al-domain.H.