C++Builder can only consume instances of Delphi-based Generics types, like TDictionary
, that originate from Delphi code. Unfortunately, it cannot instantiate Delphi-based Generics types. If you are not trying to interact with Delphi code, then you should use the STL's std::map
class instead:
#include <map>
std::map<AnsiString, AnsiString> d;