// Copyright (C) 2012 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 template NzThread::NzThread(F function, Args... args) { if (sizeof...(Args) == 0) CreateImpl(new NzFunctorWithoutArgs(function)); else CreateImpl(new NzFunctorWithArgs(function, args...)); } template NzThread::NzThread(void (C::*function)(), C* object) { CreateImpl(new NzMemberWithoutArgs(function, object)); } #include