1.
Qt Code:
  1. error C2664: 'populate' : cannot convert parameter 1 from 'Queue<Type,size>' to 'Queue<Type> &'
  2. with
  3. [
  4. Type=int,
  5. size=20
  6. ]
  7. and
  8. [
  9. Type=int
  10. ]
To copy to clipboard, switch view to plain text mode 
2. Could be possible define my own iterator on the queue in the way that I can do this:
Qt Code:
  1. Queue<int,20>::_iterator it;
To copy to clipboard, switch view to plain text mode