Later I'd want to use the map element of the buffer_current to get-store data, buffer_current_map = &buffer_current[index];
But this last does not compile.... I dont know how to write it...
How can I access to an item of buffer_current?
Can you help me ?
What you want to do is (*buffer_current)[index], not &buffer_current[index]. Note that will make a complete copy of the contents of the map. Probably not the best thing to do if you just want to access the data in the map.