// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Development Kit" // For conditions of distribution and use, see copyright notice in Prerequesites.hpp #include #include namespace Ndk { template System::System() : BaseSystem(GetSystemIndex()) { } template System::~System() = default; template BaseSystem* System::Clone() const { ///FIXME: Pas encore supporté par GCC (4.9.2) //static_assert(std::is_trivially_copy_constructible::value, "SystemType should be copy-constructible"); return new SystemType(static_cast(*this)); } }