bool SQLiteDatabase::CompareNoCase(const std::wstring &a, const std::wstring &b)
{
return std::equal( a.begin(), a.end(), b.begin(), [](wchar_t ch1, wchar_t ch2)
{
return std::toupper( static_cast( ch1 ) ) == std::toupper( static_cast( ch2 ) );
} );
}
Сообщается об ошибке:
../../libsqlite/database_sqlite.cpp: In lambda function:
../../libsqlite/database_sqlite.cpp
3224 | return std::toupper( static_cast( ch1 ) ) == std::toupper( static_cast( ch2 ) );
| ^~~~~~~~
Подробнее здесь: https://stackoverflow.com/questions/798 ... ith-typeof
Мобильная версия