diff --git a/AssemblerLib/GlobalSetup.h b/AssemblerLib/GlobalSetup.h index 2510b715f606305bc0c86fa90dea86057613b4f0..f53008065da1bb1744cb368f0c114fc1a775f18c 100644 --- a/AssemblerLib/GlobalSetup.h +++ b/AssemblerLib/GlobalSetup.h @@ -46,6 +46,13 @@ struct GlobalSetup return Executor::execute(std::forward<Args>(args)...); } + template <typename... Args> + static + void transform(Args&& ... args) + { + return Executor::transform(std::forward<Args>(args)...); + } + GlobalSetup() { } }; diff --git a/AssemblerLib/SerialExecutor.h b/AssemblerLib/SerialExecutor.h index 22a613d4acb6f813dd7aabbf26f8100384336c93..160dce9f5051c5c6c8424e653a39a81f833e3755 100644 --- a/AssemblerLib/SerialExecutor.h +++ b/AssemblerLib/SerialExecutor.h @@ -58,9 +58,9 @@ struct SerialExecutor static void #if defined(_MSC_VER) && (_MSC_VER >= 1700) - execute(F& f, C const& c, Data& data, Args_&&... args) + transform(F& f, C const& c, Data& data, Args_&&... args) #else - execute(F const& f, C const& c, Data& data, Args_&&... args) + transform(F const& f, C const& c, Data& data, Args_&&... args) #endif { assert(c.size() == data.size());