From fd5ba96357002c0964453fea38ee6a813cf02826 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Nov 2012 12:18:42 +0200 Subject: Rework query alias tag system Now each object pointer or view-associated object with alias gets its own unique tag. --- odb/query.hxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/odb/query.hxx b/odb/query.hxx index d5d0a19..ffff7f7 100644 --- a/odb/query.hxx +++ b/odb/query.hxx @@ -12,8 +12,7 @@ namespace odb { - // Table alias for type T and alias tag Tag. The dummy third template - // argument is used to make the C++ compiler weed out duplicates. + // Table alias for type T and tag Tag. // // The alias_traits interface consists of two things: the table_name // static variable containing the name and, in case of a derived type @@ -22,16 +21,16 @@ namespace odb // we need straight tables instead of aliases. // // - template + template struct alias_traits; template struct query_columns_base; - template + template struct query_columns; - template + template struct pointer_query_columns; // Object pointer syntax wrapper. -- cgit v1.1