Started to rewrite traits and recursive traits

traits are shorter and easier to identify by using tags in a variadic
template

recursive traits can be automatically derived, which makes it much
easier to add new traits to be handed through the expression tree.
This commit is contained in:
rbock
2014-05-15 08:00:03 +02:00
parent df3fd999b3
commit d062c1a0d8
51 changed files with 218 additions and 224 deletions
+2 -3
View File
@@ -33,9 +33,8 @@ namespace sqlpp
{
struct default_value_t
{
static constexpr bool _is_expression = true;
using _value_type = no_value_t;
using _table_set = ::sqlpp::detail::type_set<>;
using _traits = make_traits_t<no_value_t, tag::expression>;
using _recursive_traits = make_recursive_traits_t<>;
static constexpr bool _is_trivial() { return false; }
};