mozeat-sun

Results 6 comments of mozeat-sun

..\..\database\ormpp-master/utility.hpp:88:57: error: no matching function for call to 'type_to_name(ormpp::identity)' case DBType::sqlite : s = ormpp_sqlite::type_to_name(identity{}); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~

REFLECTION(person, id, name, age,title) 直接报错,

struct Title { int t; }; REFLECTION(Title, t) struct person { int id; std::string name; int age; Title title; }; REFLECTION(person, id, name, age,title) ..\..\database\ormpp-master/utility.hpp:88:57: error: no matching function for...

那是不是太局限了?

恩,这是个好问题。很多人不关心数据库如何存,存什么格式。只关心,存对应的数据结构和能取出对应的结构体,