How to set the default value of all elements of a queue to zero before we know the length of the queue?

Hi,
Is there way to set all the elements that will be accessed in a queue to a default value of say zero? so that when I use the queue I can go ahead and set some bits to 1 later?

Thanks in advance

In reply to ub_ovm:

You need to explain further. How could you not know the length of a queue using queue.size()? There is no such thing as a default value of an element of a queue. You can assign any value to any element of a queue, and you can use any one of the looping statements to access each existing member.