-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels