Problem with multimap in root

HI,
I am using the following code:

#define cnt_cxx
#include “cnt.h”
#include “TH2.h”
#include “TStyle.h”
#include “TCanvas.h”

using std::multimap;

const Float_t CalcXCurv(const Int_t fitLength)const{
const multimap<Float_t> md ;
}

When I run this from root, I get the following error message:

Error: no such template multimap<Float_t> cnt.C:1237:
*** Interpreter error recovered ***

Sorry the last line is actually:

const multimap<Float_t> md ;

You need to add the proper include file (#include ) and you need to provide 2 argument to your map (index and value).

Cheers,
Philippe

Hi Philippe,
thanks for your reply. I forgot to mention , I am using version: 5.10/00c

I am actually using two arguments, but for some reason when I copy and paste that particular line only one argument shows up. I tried your suggestion and included multimap, but I am seeing new errors:

Error: Too few template arguments cnt.C:1237:
Error: Too few template arguments cnt.C:1237:
Error: template argument for Compare missing cnt.C:34:
Error: template argument for Compare missing cnt.C:38:
Error: template argument for Compare missing cnt.C:40:
Error: template argument for Compare missing cnt.C:41:
Error: template argument for Compare missing cnt.C:64:
Error: template argument for Compare missing cnt.C:64:
Error: template argument for Compare missing cnt.C:66:
Error: template argument for Compare missing cnt.C:66:
Error: template argument for Compare missing cnt.C:67:
Error: template argument for Compare missing cnt.C:68:
Error: template argument for Compare missing cnt.C:68:
Error: template argument for Compare missing cnt.C:88:
*** Interpreter error recovered ***

*** Break *** segmentation violation

To properly copy/paste code in the Forum disable the HTML for you post (see just under the text) box.

Did you make sure your generated the cintdlls?

Philippe