Simply store std::vector in the queue for instance. Or if the values have different meaning, simply create a custom structure and store it in the queue instead. By the way std::queue stores a single value meaning each element is a single value(if that is what you meant).

C++ queue with multiple values
Using tcolorbox, how can I label a box and give the box whatever number I want?

\documentclass{memoir}
\usepackage[breakable]{tcolorbox}
\newtcolorbox[use counter=table,number within=chapter]{MijnOtherBox}[2][]{breakable,coltitle=blue!20!black,colback=black!1!white,colframe=black!10!white,title={Box~\thetcbcounter: #2},#1}

\begin{document}
\begin{MijnOtherBox}[label=Boxone]{Title for the box}
I want this box to be labelled with number 3.1 instead of \ref{Boxone}
\end{MijnOtherBox}

\end{document}


In fact my problem is that in my document there is an issue with the numbering of the boxes: in some chapters the numbering jump, e.g. Box 3.1, Box 3.2 and (!) Box 3.4, skipping 3.3...
