
________________________________________ De: boost-users-bounces@lists.boost.org [boost-users-bounces@lists.boost.org] En nombre de Etienne Philip Pretorius [icewolfhunter@gmail.com] Enviado el: domingo, 26 de abril de 2009 15:11 Para: boost-users@lists.boost.org Asunto: [Boost-users] Multi Index: Nested std::pair
Hello List,
I would greatly appreciate if someone could assist me in getting this structure correct.
boost::multi_index_container< std::list< std::pair< /*value*/ unsigned char, std::pair< /*x co-ordinate*/ unsigned char, /*y co-ordinate*/ unsigned char > > >, [...]
First of all, you're defining a multi_index_container of *lists*, i.e. each element of the container is a list of triplets (value,x,y). Is this what you really meant, or maybe the std::list part has to be dropped? Joaquín M López Muñoz Telefónica, Investigación y Desarrollo