Closed godmaycrying closed 3 weeks ago
@godmaycrying Do you have a suggestion on how to solve the compiler error?
And please, give a good error description when you open a ticket. Thank you.
Hi @godmaycrying, can we close this ticket?
Hi @godmaycrying, can we close this ticket?
yes, thank you!
sqlite_orm.h(10301): error C3536: 'res': cannot be used before it is initialized sqlite_orm.h(19794): note: see reference to function template instantiation 'decltype(auto) sqlite_orm::internal::empty_callable<std::integral_constant<bool,false>>(void)' being compiled sqlite_orm.h(19794): note: see reference to class template instantiation 'sqlite_orm::internal::statement_serializer<sqlite_orm::internal::replace_t,void>' being compiled
sqlite_orm.h(10301): error C2440: 'return': cannot convert from 'int' to 'auto &'
sqlite_orm.h(10302): error C3487: 'void': all return expressions must deduce to the same type: previously it was 'auto &'
sqlite_orm.h(19794): error C3779: 'sqlite_orm::internal::empty_callable': a function that returns 'auto' cannot be used before it is defined
sqlite_orm.h(10297): note: see declaration of 'sqlite_orm::internal::empty_callable'
sqlite_orm.h(19794): note: This diagnostic occurred in the compiler generated function 'std::string sqlite_orm::internal::statement_serializer<sqlite_orm::internal::replace_t,void>::operator ()(const sqlite_orm::internal::replace_t &,const Ctx &) const'