title: How to access and modify an element inside std::queue in C++
body: <p>As it says in title, how can I access multiple members of a structure in a queue without getting them out of the queue? I just want to change the value of an <code>int</code> in the structure but I need to keep them in queue for later use.</p>