// 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 #include template NzThread::NzThread(F function) { CreateImpl(new NzFunctorWithoutArgs(function)); } template NzThread::NzThread(F function, Args&&... args) { CreateImpl(new NzFunctorWithArgs(function, std::forward(args)...)); } template NzThread::NzThread(void (C::*function)(), C* object) { CreateImpl(new NzMemberWithoutArgs(function, object)); } #include