DM> typedef queue > IOQueue;
DM> On the marked line (!!!), the compiler complains that it cannot find
DM> function "queue >::push(char) volatile". The function,
DM> volatile, exists, though.
Now everything is clear:
The definition of the queue container adaptor looks like this:
template >
class queue {
//etc.
};
You are expected to push deque instances into a
queue>, not chars.
Try
typedef queue > IOQueue;
or, since your compiler seems to support default template arguments,
typedef queue IOQueue;
Thomas
---
MM 1.0 #0113 Twitfilter - die elektronische Empfngnisverhtung
---------------
* Origin: McMeier & Son BBS (2:301/138)
|