// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #include namespace Nz { template void TaskScheduler::AddTask(F function) { AddTaskFunctor(new FunctorWithoutArgs(function)); } template void TaskScheduler::AddTask(F function, Args&&... args) { AddTaskFunctor(new FunctorWithArgs(function, std::forward(args)...)); } template void TaskScheduler::AddTask(void (C::*function)(), C* object) { AddTaskFunctor(new MemberWithoutArgs(function, object)); } } #include