Skip to main content

Hashable Gauntlet

Challenge on lesson: Checkpoint: Concepts

CHALLENGE
Difficulty: advanced+25 XP

Implement Hashable (std::hash works on a **const** T, result convertible to std::size_t), constrained hashOf returning the real hash, and a fallback returning 0.

Back to lesson: Checkpoint: Concepts