Debian Codegraph @

examples/doxygen/concept.h

raw symbols SCIP
1 template<typename T>
2 concept Hashable = requires(T a)
3 {
4 { std::hash<T>{}(a) } -> std::convertible_to<std::size_t>;
5 };
6
7 /*! \concept Hashable concept.h "inc/concept.h"
8 * \brief This is a test concept.
9 *
10 * It was stolen from the first example from
11 * https://en.cppreference.com/w/cpp/language/constraints
12 */