Board index » cppbuilder » Passing a set to a function...

Passing a set to a function...


2006-01-11 09:14:41 PM
cppbuilder35
Hi!
I have to pass a Delphi set to a Delphi function from C++.
The C++ hpp file defines a template:
typedef Set<SetItemsType,lowestEnumItem, HighestEnumItem>SetName;
How do I construct a set and pass it to a function?
Thanks!
Atmapuri
 
 

Re:Passing a set to a function...

Try:
SetName() << type1 << type2;
Malcolm
"Atmapuri" < XXXX@XXXXX.COM >wrote in message
Quote
Hi!

I have to pass a Delphi set to a Delphi function from C++.

The C++ hpp file defines a template:

typedef Set<SetItemsType,lowestEnumItem, HighestEnumItem>SetName;

How do I construct a set and pass it to a function?

Thanks!
Atmapuri