Index: [thread] [date] [subject] [author]
  From: Angelique Coviello <amc1@duke.edu>
  To  : 
  Date: Tue, 2 Feb 1999 21:06:48 -0500

Passing a map as an argument

Here is what I am trying to do

virtual int Evaluate (const map <string, Expression *> & myVariables, 
                      ostream & out) const

But for some reason I can not use the map pair <string, Expression *>.  I 
get the following error:

In file included from 

/afs/acpub/project/cps/pkgs/gcc-2.8.1/include/g++/stl_pair.h:48: 
non-template type `pair' used as a template

I have all of the include statements that I should need. I've tried 
poking around some of the help pagges, but am not getting anywhere.  Can 
anyone help me?

Angel


Index: [thread] [date] [subject] [author]