In reply to dave_59:
Hi Dave,
Went through your explanation regarding “static task” & “task static” in different posts. I understood,
- Lifetime qualifier of class methods is by default Automatic
- “task static foo();” // static here is lifetime qualifier but is illegal inside class.
Is legal and can be used outside the class. - “static task foo();” // static is class qualifier, falls into the category of local and
protected
But couldn’t understand what is the need of “static task foo()” which is having automatic lifetime. where it find its application, where can we use this.
Thanks