// Copyright (C) 2014 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 template NzFunctorWithoutArgs::NzFunctorWithoutArgs(F func) : m_func(func) { } template void NzFunctorWithoutArgs::Run() { m_func(); } template NzFunctorWithArgs::NzFunctorWithArgs(F func, Args&... args) : m_func(func), m_args(args...) { } template void NzFunctorWithArgs::Run() { NzUnpackTuple(m_func, m_args); } template NzMemberWithoutArgs::NzMemberWithoutArgs(void (C::*func)(), C* object) : m_func(func), m_object(object) { } template void NzMemberWithoutArgs::Run() { (m_object->*m_func)(); }