0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Turned off is_regular for msvc

This commit is contained in:
rbock 2015-12-28 10:39:53 +01:00
parent d1cc617ae7
commit 820195b303
2 changed files with 6 additions and 3 deletions

View File

@ -339,6 +339,7 @@ namespace sqlpp
return _where_impl<_database_t>(Check{});
}
// MSVC does not comprehend this, and must therefore have a separate function with no arguments.
template <typename... Expressions>
auto dynamic_where(Expressions... expressions) const
-> _new_statement_t<check_where_dynamic_t<_database_t, Expressions...>, where_t<_database_t, Expressions...>>

View File

@ -45,14 +45,16 @@ namespace sqlpp
static constexpr bool value =
true
#if !defined _MSC_VER
#if defined SQLPP_TEST_NO_THROW_MOVE_CONSTRUCTIBLE
and std::is_nothrow_move_constructible<T>::value
#endif
and std::is_move_assignable<T>::value // containers and strings are not noexcept_assignable
and std::is_copy_constructible<T>::value and std::is_copy_assignable<T>::value
// default constructor makes no sense
// (not) equals would be possible
// not sure about less
// default constructor makes no sense
// (not) equals would be possible
// not sure about less
#endif
;
};
}