TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DARIN MCBRIDE
from: THOMAS MAEDER
date: 1997-08-22 19:48:00
subject: volatile objects?

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.