#pragma once #ifndef ORM_TINY_TINYCONCEPTS_HPP #define ORM_TINY_TINYCONCEPTS_HPP #include "orm/macros/systemheader.hpp" TINY_SYSTEM_HEADER #include #include #include "orm/macros/commonnamespace.hpp" TINYORM_BEGIN_COMMON_NAMESPACE namespace Orm::Tiny { /*! Concept for Model's AllRelations template parameter, AllRelations can not contain actual model type declared in the Derived template parameter. */ template concept AllRelationsConcept = (!std::same_as && ...); class IsModel; /*! Concept to check whether a passed type is the model class. */ template concept ModelConcept = std::derived_from; } // namespace Orm::Tiny TINYORM_END_COMMON_NAMESPACE #endif // ORM_TINY_TINYCONCEPTS_HPP