/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/Workspaces/WorkspacesLib/StringUtils.cpp
18 строк
411 B
Kai Tao
Workspaces: PWA apps should not necessarily configure profile to launch. (#39971)
17 июн 2025, 10:39
Не верифицирован
17 июн 2025, 10:39
c487638
Код
Авторство
О чём код?
#include "pch.h" #include "StringUtils.h" namespace StringUtils { bool CaseInsensitiveEquals(const std::wstring& str1, const std::wstring& str2) { if (str1.size() != str2.size()) { return false; } return std::equal(str1.begin(), str1.end(), str2.begin(), [](wchar_t ch1, wchar_t ch2) { return towupper(ch1) == towupper(ch2); }); } }