2 template<
typename t_list1,
typename t_list2>
4 typedef typename t_list1::t_item t_item;
5 const t_size count = from.get_size();
6 if (count != to.get_size())
return false;
8 for(
t_size walk = 0; walk < count; ++walk) out[walk] = walk;
12 for(
t_size walk = 0; walk < count; ++walk) {
15 for(
t_size walk = 0; walk < count; ++walk) {
16 t_queue * q = content.
query_ptr(to[walk]);
17 if (q == NULL)
return false;
18 if (q->get_count() == 0)
return false;
19 out[walk] = *q->first();
20 q->remove(q->first());
Differences between chain_list_v2_t<> and old chain_list_t<>: Iterators pointing to removed items as...
t_storage_value & find_or_add(_t_key const &p_key)
const t_storage_value * query_ptr(const _t_key &p_key) const
void set_size(t_size p_size)
static bool guess_reorder_pattern(pfc::array_t< t_size > &out, const t_list1 &from, const t_list2 &to)