@@ -47,7 +47,8 @@ namespace sqlite_orm {
4747
4848 template <class T >
4949 SQLITE_ORM_INLINE_VAR constexpr bool
50- is_operator_argument_v<T, std::enable_if_t <polyfill::is_specialization_of_v<T, alias_column_t >>> = true ;
50+ is_operator_argument_v<T, std::enable_if_t <polyfill::is_specialization_of<T, alias_column_t >::value>> =
51+ true ;
5152
5253 struct basic_table ;
5354
@@ -134,7 +135,7 @@ namespace sqlite_orm {
134135
135136 template <class T >
136137 SQLITE_ORM_INLINE_VAR constexpr bool
137- is_operator_argument_v<T, std::enable_if_t <polyfill::is_specialization_of_v <T, alias_holder>>> = true ;
138+ is_operator_argument_v<T, std::enable_if_t <polyfill::is_specialization_of <T, alias_holder>::value >> = true ;
138139
139140#ifdef SQLITE_ORM_WITH_CPP20_ALIASES
140141 template <char A, char ... X>
@@ -154,7 +155,7 @@ namespace sqlite_orm {
154155 * using als = alias_u<User>;
155156 * select(alias_column<als>(column<User>(&User::id)))
156157 */
157- template <class A , class C , std::enable_if_t <internal::is_table_alias_v <A>, bool > = true >
158+ template <class A , class C , std::enable_if_t <internal::is_table_alias <A>::value , bool > = true >
158159 constexpr auto alias_column (C field) {
159160 using namespace ::sqlite_orm::internal;
160161 using aliased_type = type_t <A>;
@@ -172,7 +173,7 @@ namespace sqlite_orm {
172173 * using als = alias_u<User>;
173174 * select(alias_column<als>(&User::id))
174175 */
175- template <class A , class F , class O , std::enable_if_t <internal::is_table_alias_v <A>, bool > = true >
176+ template <class A , class F , class O , std::enable_if_t <internal::is_table_alias <A>::value , bool > = true >
176177 constexpr auto alias_column (F O::*field) {
177178 using namespace ::sqlite_orm::internal;
178179 using aliased_type = type_t <A>;
0 commit comments