Board index » cppbuilder » error with multimap

error with multimap

2005-07-01 10:13:45 AM
hi. i'm trying to instatiate a multimap thusly...
#include <map>
#include <utilcls.h>
__fastcall TfrmMain::TfrmMain(TComponent* Owner)
: TForm(Owner)
std::multimap<AnsiString, TVariantT>Settings;
and i get the following error...
E2299 Cannot generate template specialization from
i'm not quite sure what i'm doing wrong. can anyone help?

Re:error with multimap

i figured it out. the help for TVariant goes to TVariantT which i
obviously wasn't specialising.