queue and exception

Joined
Feb 12, 2008
Messages
108
Reaction score
0
Hello everyone,


Just a basic question which I could not find answer from MSDN currently, for frequently used member functions for queue class, there is,

1. push;
2. pop;
3. back;
4. front.

I know (1) will throw exception, for example, out of memory. How about (2), (3) and (4)? Will they be possible to throw any exceptions and in what situations if there are exceptions? From MSDN declaration of exception specification for the functions, I can not find the answer.


thanks in advance,
George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top