You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 rivejä
536 B

  1. #pragma once
  2. #include <ecs/config.h>
  3. #include <ecs/core/system/scheduler/atomic_counter.h>
  4. beg_namespace_ecs_settings_scheduler
  5. {
  6. namespace __impl
  7. {
  8. struct atomic_counter_t
  9. {
  10. template<typename T_settings>
  11. constexpr decltype(auto) operator()(T_settings) const noexcept
  12. { return core::system::scheduler::atomic_counter<T_settings> { }; }
  13. };
  14. }
  15. constexpr decltype(auto) atomic_counter = __impl::atomic_counter_t { };
  16. }
  17. end_namespace_ecs_settings_scheduler