42 concept Numeric = std::integral<T> || std::floating_point<T>;
44 template<
typename ObjectT>
47 {
object.present() } -> std::same_as<std::string>;
50 template<
typename ObjectT>
52 concept Stream =
requires(ObjectT object) {
53 {
object.operator<<() } -> std::same_as<std::ostream&>;
Represents any C++ numeral literals.
Definition concepts.hpp:42
Represents any object with a .present() method.
Definition concepts.hpp:46
Represents any streams with a .operator<<() method.
Definition concepts.hpp:52
Defines concepts to be used for distinguishing types in the project.