int main (int argc, char** argv) { auto t1 = Type1(); //std::cout << t1.getTypeName() << std::endl; auto test = uge::TypeDefinition<Type1, uge::ObjectTypeDefinition, 't', 'e'>(); std::cout << test.getTypeName() << std::endl; // auto t1_2 = Type1(); // auto t2 = Type2(); // auto t3 = Type3(); // auto t4 = Type4(); // check_equal (t1, t1_2); // check_equal (t1, t2); // check_equal (t1, t3); // check_equal (t1, t4); // check_equal (t3, t4); // check_inherit (t1, t1_2); // check_inherit (t1, t2); // check_inherit (t1, t3); // check_inherit (t1, t4); // check_inherit (t4, t1); // check_inherit (t3, t4); return EXIT_SUCCESS; }
void print(std::vector<int> container_) { for_each(container_, Type1()); }