cgrapht
1.0.0
A modern C++20 header-only graph library
Loading...
Searching...
No Matches
commons.hpp
Go to the documentation of this file.
1
5
#pragma once
6
7
#include <cstddef>
8
#include <functional>
9
10
namespace
cgrapht
{
11
20
template
<
typename
T>
21
concept
Hashable
=
requires
(T a) {
22
{ std::hash<T>{}(a) } -> std::convertible_to<std::size_t>;
23
};
24
25
}
cgrapht::Hashable
Concept for types hashable by std::hash.
Definition
commons.hpp:21
cgrapht
Definition
commons.hpp:10
headers
cgrapht
commons.hpp
Generated on Wed Jun 17 2026 14:24:02 for cgrapht by
1.9.8