Re: Taking values from Queue
Ok. Like i said, the Queue is declared as,
std::queue<unsigned char> m_RxQueue;
and the data is pushed into Queue using,
m_RxQueue.push(*pBuf++);
Where pBuf is a unsigned char*
---------------------------------------------
And my question is, Now how can i extract the data back?
If not a Deque::Iterator, what other approach i can use to extract
data from Queue?
|