// file : common/types/driver.cxx // copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file // Test C++ type handling (anonymous types, aliasing). // #include #include #include #include #include "test.hxx" #include "test-odb.hxx" 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)); }