You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that there is a problem in one of the CI tasks checking homework for lambdas.
It is named "template-check".
I cannot pass check defined in ./template_check.sh
I suppose that the pattern pattern="template\s*<.*(typename\s*\.\.\.\s*\w*).*>\s*void\s+schedule\(.*\)\s*{"
used might not be perfect.
In my case it doesn't treat below code as valid template function: template <typename Action, typename... Args> void schedule(Action func, std::chrono::seconds time, Args... args) { std::this_thread::sleep_for(time); std::invoke(func, std::forward<Args>(args)...); }
But it builds and passes all other tests.
The text was updated successfully, but these errors were encountered:
I've checked the regexp and it works with your input. The problem must be somewhere else. I'll take a closer look after the New Year. Thank you for raising this issue :)
I believe that there is a problem in one of the CI tasks checking homework for lambdas.
It is named "template-check".
I cannot pass check defined in ./template_check.sh
I suppose that the pattern
pattern="template\s*<.*(typename\s*\.\.\.\s*\w*).*>\s*void\s+schedule\(.*\)\s*{"
used might not be perfect.
In my case it doesn't treat below code as valid template function:
template <typename Action, typename... Args> void schedule(Action func, std::chrono::seconds time, Args... args) { std::this_thread::sleep_for(time); std::invoke(func, std::forward<Args>(args)...); }
But it builds and passes all other tests.
The text was updated successfully, but these errors were encountered: