// 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 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(std::forward(args)...) { } template void NzFunctorWithArgs::Run() { NzApply(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)(); }