conststr 0.2.1
Loading...
Searching...
No Matches
conststr::meta::hashable Concept Reference

This concept is satisfied if std::hash<T> has specialization. More...

#include <conststr.hpp>

Concept definition

template<typename T>
concept conststr::meta::hashable = requires(std::hash<std::remove_cvref_t<T>> hash,
const std::remove_cvref_t<T> &obj) { hash(obj); }
This concept is satisfied if std::hash<T> has specialization.
Definition: conststr.hpp:320

Detailed Description

This concept is satisfied if std::hash<T> has specialization.

Template Parameters
Tany type