// file : odb/function-table.hxx // copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_FUNCTION_TABLE_HXX #define ODB_FUNCTION_TABLE_HXX #include #include namespace odb { template struct function_table_entry { typedef access::object_traits_impl default_traits; function_table_entry ( const typename default_traits::function_table_type* t) { default_traits::function_table[DB] = t; } ~function_table_entry () { default_traits::function_table[DB] = 0; } }; } #include #endif // ODB_FUNCTION_TABLE_HXX