18 #include <boost/fusion/container/vector.hpp>
22 namespace entity {
namespace component
26 #if ENTITY_SUPPORT_VARIADICS
27 template<
typename... Pools>
28 boost::fusion::vector<Pools&...>
tie(Pools&... pools)
30 return boost::fusion::vector<Pools&...>(pools...);
33 template<
typename Pool>
34 boost::fusion::vector<Pool&>
tie(Pool& pool)
36 return boost::fusion::vector<Pool&>(pool);
39 template<
typename Pool1,
typename Pool2>
40 boost::fusion::vector<Pool1&, Pool2&>
tie(Pool1& pool_1, Pool2& pool_2)
42 return boost::fusion::vector<Pool1&, Pool2&>(pool_1, pool_2);
45 template<
typename Pool1,
typename Pool2,
typename Pool3>
46 boost::fusion::vector<Pool1&, Pool2&, Pool3&>
tie(Pool1& pool_1, Pool2& pool_2, Pool3& pool_3)
48 return boost::fusion::vector<Pool1&, Pool2&, Pool3&>(pool_1, pool_2, pool_3);
51 } } // namespace entity { namespace component {
boost::fusion::vector< Pools &...> tie(Pools &...pools)