Moved UnpackTuple to an algorithm header

Former-commit-id: 9abfd6edd40481c26cd07d070eb56fa6d0e6826a
This commit is contained in:
Lynix 2015-02-24 19:57:00 +01:00
parent fb68bf3a79
commit cadeae5e21
3 changed files with 8 additions and 5 deletions

View File

@ -4,13 +4,14 @@
#pragma once
#ifndef NAZARA_TUPLE_HPP
#define NAZARA_TUPLE_HPP
#ifndef NAZARA_ALGORITHM_CORE_HPP
#define NAZARA_ALGORITHM_CORE_HPP
#include <Nazara/Prerequesites.hpp>
#include <tuple>
template<typename F, typename... ArgsT> void NzUnpackTuple(F func, const std::tuple<ArgsT...>& t);
#include <Nazara/Core/Tuple.inl>
#include <Nazara/Core/Algorithm.inl>
#endif // NAZARA_TUPLE_HPP
#endif // NAZARA_ALGORITHM_CORE_HPP

View File

@ -8,6 +8,8 @@
#include <Nazara/Core/Debug.hpp>
///TODO: Améliorer l'implémentation de UnpackTuple
template<unsigned int N>
struct NzImplTupleUnpack
{

View File

@ -7,7 +7,7 @@
#ifndef NAZARA_FUNCTOR_HPP
#define NAZARA_FUNCTOR_HPP
#include <Nazara/Core/Tuple.hpp>
#include <Nazara/Core/Algorithm.hpp>
// Inspiré du code de la SFML par Laurent Gomila