ExecutionCommand.hpp
1 #pragma once
2 
3 #include <cmath>
4 #include <smallfun.hpp>
5 
6 #include <functional>
7 #include <version>
8 namespace Execution
9 {
10 using ExecutionCommand = smallfun::function<
11  void(),
12 #if defined(_MSC_VER) && !defined(NDEBUG)
13  256,
14 #else
15  128,
16 #endif
17  std::max((int)8, (int)std::max(alignof(std::function<void()>), alignof(double))),
18  smallfun::Methods::Move>;
19 
20 using GCCommand = smallfun::function<
21  void(),
22 #if defined(_MSC_VER) && !defined(NDEBUG)
23  2 * (128 + 4 * 8),
24 #else
25  128 + 4 * 8,
26 #endif
27  std::max((int)8, (int)std::max(alignof(std::function<void()>), alignof(double))),
28  smallfun::Methods::Move>;
29 }
Components used for the execution of a score.
Definition: ProcessComponent.cpp:12