ECSTASY
All in the name
Loading...
Searching...
No Matches
Modifier.hpp
Go to the documentation of this file.
1
11
12#ifndef ECSTASY_QUERY_CONCEPTS_MODIFIER_HPP_
13#define ECSTASY_QUERY_CONCEPTS_MODIFIER_HPP_
14
15#include "Queryable.hpp"
17
18namespace ecstasy::query
19{
30 template <typename M>
31 concept Modifier = requires(M &modifier) {
33 requires Queryable<M>;
34
36 requires std::derived_from<M, ecstasy::query::modifier::ModifierBase>;
37
39 typename M::Operands;
40 };
41} // namespace ecstasy::query
42
43#endif /* !ECSTASY_QUERY_CONCEPTS_MODIFIER_HPP_ */
Contains the concepts for queryable objects.
Defines a query modifier type.
Definition Modifier.hpp:31
Defines a type that can be queried.
Type erased base class for all query modifiers.
Namespace regrouping the internal ecstasy query system.
Definition Condition.hpp:18