DG-CPP 0.1.0
Directed Graph in C++
common.hpp
Go to the documentation of this file.
1
12#ifndef _DG_COMMON_HPP_
13#define _DG_COMMON_HPP_
14
15#include <concepts>
16
17namespace dg {
18template <typename T>
19concept IDVT = !std::is_void_v<T>
20#ifdef __cpp_lib_concepts
21 && std::equality_comparable<T>
22#endif
23 ;
24template <typename T>
25concept EdgeVT = !std::is_void_v<T>;
26template <typename T>
27concept NonFunc = !std::is_function_v<T>;
28} // namespace dg
29
30#endif
Definition: common.hpp:25
Definition: common.hpp:19
Definition: common.hpp:27
Directed Graph namespace.
Definition: base.hpp:35