Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Nov 13, 2022
1 parent 77e581f commit 106af9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/orm/ormconcepts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ namespace Query
}
using QueryBuilder = Query::Builder;

/* Don't test for eg. QString and also const QString & in the std::converible_to<>,
test only for the QString, it doesn't make sense to test for both. */

/*! Concept for a queryable parameter. */
template<typename T>
concept Queryable = std::convertible_to<T, Orm::QueryBuilder &> ||
Expand Down

0 comments on commit 106af9d

Please sign in to comment.