How check behaves as a function in this Code?
int countV(string_view word) {
/*
Lines of codes
*/
auto check = [&](string_view s) {
};
for (int i = 0; i < n; ++i)
for (int l = 5; i + l <= n; ++l)
if (check(word)) ;
}