// Copyright (C) 2012 Jérôme Leclercq // This file is part of the "Nazara Engine". // For conditions of distribution and use, see copyright notice in Config.hpp template NzFunctorWithoutArgs::NzFunctorWithoutArgs(F func) : function(func) { } template void NzFunctorWithoutArgs::Run() { function(); } template NzFunctorWithArgs::NzFunctorWithArgs(F func, Args&... args) : function(func), arguments(args...) { } template void NzFunctorWithArgs::Run() { NzUnpackTuple(function, arguments); }