before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. I’m currently trying to find a way to use the STL to convert a map’s keys to a different, non-associative container such as a vector, list, etc. I feel there must be some kind of way to use std::copy () or a function like that to do this for me, but I don’t know how. template &lt,class input_iterator, class output_iterator&gt, output_iterator solatis::data_element::get_map_keys (input_iterator first, input_iterator last, output_iterator result) { while (first != last) { *result++ = (first++)-&gt,first, } return result, } std::list &lt,long&gt, keys, std::map &lt,long, MyClass&gt, data, this-&gt,get_map_keys (data.begin (), data.end (), std::inserter (keys, keys.end ())), std::list &lt,long&gt, keys, std::map &lt,long, MyClass&gt, data, typedef sd::map&lt,long, MyClass&gt,::value_type pair_type, std::transform (data.begin (), data.end (), std::back_inserter (keys), boost::bind (&pair_type::first, _1)), Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers. Source.

whatsapp button