2
0

core-activation.template.h 360 B

1234567891011121314
  1. #ifndef AFUN_CORE_ACTIVATION_TEMPLATE_H
  2. #define AFUN_CORE_ACTIVATION_TEMPLATE_H
  3. #include "core-activation.h"
  4. namespace aFuncore {
  5. template <typename Callable, typename...T>
  6. void Activation::VarList::forEach(Callable func, T...arg) {
  7. for (auto &vs : varspace)
  8. func(vs, arg...);
  9. }
  10. }
  11. #endif //AFUN_CORE_ACTIVATION_TEMPLATE_H