Skip to content

Homework CI check Issue - lambdas #63

@mBialczak

Description

@mBialczak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions