// 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 namespace Nz { template Thread::Thread(F function) { CreateImpl(new FunctorWithoutArgs(function)); } template Thread::Thread(F function, Args&&... args) { CreateImpl(new FunctorWithArgs(function, std::forward(args)...)); } template Thread::Thread(void (C::*function)(), C* object) { CreateImpl(new MemberWithoutArgs(function, object)); } } #include