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.
|
- #pragma once
-
- #include <ecs/config.h>
- #include <ecs/core/system/parallelism/strategy/none.h>
-
- namespace ecs {
- namespace signature {
- namespace system {
- namespace parallelism {
-
- namespace detail
- {
- struct none_builder_t
- {
- inline decltype(auto) operator()() const noexcept
- {
- #ifndef NDEBUG
- return ::ecs::core::system::parallelism::none(false);
- #else
- return ::ecs::core::system::parallelism::none();
- #endif
- }
- };
-
- struct none_t
- {
- constexpr decltype(auto) operator()() const noexcept
- { return none_builder_t { }; }
- };
- }
-
- constexpr decltype(auto) none = detail::none_t { };
-
- } } } }
|