utility::templates namespace

Class: psl::evocable Info: evocables are similar to common::event in that you can invoke a function or method at any time. Principle difference is that with evocables you assign the std::function's parameters beforehand when you invoke the function/method, you use the assigned parameters from beforehand. Details: Precautions should be taken when sending std::ref() and pointers to the evocable as to not Invoke functions/methods after their lifetime has passed. There are 3 duck typed versions:

  • evocable: you can only invoke on this variation
  • evocableR: the invokes return value is known
  • evocableT: mostly for completion and consistency with the Event API, has very few use cases