// file : common/types/driver.cxx // license : GNU GPL v2; see accompanying LICENSE file // Test C++ type handling (anonymous types, aliasing). // #include #include #include #include "test.hxx" #include "test-odb.hxx" #undef NDEBUG #include using namespace std; using namespace odb::core; template struct same_p { static const bool result = false; }; template struct same_p { static const bool result = true; }; int main () { assert ((same_p::id_type, int>::result)); }