Rewrote type-set operations to look more like free functions

This commit is contained in:
rbock
2014-03-19 18:59:39 +01:00
parent 82dc280b1b
commit 555aba3f14
22 changed files with 132 additions and 124 deletions

View File

@@ -45,7 +45,7 @@ namespace sqlpp
>
struct insert_t
{
static_assert(Table::_table_set::template is_superset_of<typename InsertValueList::_table_set>::value, "columns do not match the table they are to be inserted into");
static_assert(::sqlpp::detail::is_superset_of<typename Table::_table_set, typename InsertValueList::_table_set>::value, "columns do not match the table they are to be inserted into");
using _database_t = Database;
using _is_dynamic = typename std::conditional<std::is_same<Database, void>::value, std::false_type, std::true_type>::type;