Task class and related functions

Components

  • operator!=

    Compares a task for not equal an empty task

  • operator==

    Checks if a given task is equal to an empty task

    (template function)
  • swap

    Exchanges two tasks

  • task

    Class template stlab::task is a general-purpose polymorphic function wrapper. Instances of stlab::task can store, move, and invoke any Callable target – functions, lambda expressions, bind expressions, or other function objects, as well as pointers to member functions and pointers to data members.

    (template class)