ECSTASY
All in the name
Loading...
Searching...
No Matches
ecstasy::query::QCondition Concept Reference

Query Condition concept. More...

#include <Condition.hpp>

Concept definition

template<typename C>
concept ecstasy::query::QCondition = requires(C &condition) { requires std::derived_from<C, ecstasy::query::ConditionBase>; }
Query Condition concept.
Definition Condition.hpp:35

Detailed Description

Query Condition concept.

You should use QConditionConst, QConditionLeft, QConditionRight or QConditionLeftRight to be sure that the condition is valid.

Warning
This concept isn't sufficient to check if a type is a condition, it only checks if it derives from ConditionBase.
Template Parameters
CThe type to check.
Author
Andréas Leroux (andre.nosp@m.as.l.nosp@m.eroux.nosp@m.@epi.nosp@m.tech..nosp@m.eu)
Since
1.0.0 (2022-12-16)

Definition at line 35 of file Condition.hpp.