Added enum to li_std_list tests
This commit is contained in:
parent
a3821245eb
commit
4a149f66fd
1 changed files with 8 additions and 0 deletions
|
|
@ -40,9 +40,17 @@ struct Struct {
|
|||
Struct(double d) : num(d) {}
|
||||
// bool operator==(const Struct &other) { return (num == other.num); }
|
||||
};
|
||||
|
||||
enum Fruit {
|
||||
APPLE,
|
||||
BANANNA,
|
||||
PEAR,
|
||||
KIWI,
|
||||
};
|
||||
%}
|
||||
|
||||
%template(StructList) std::list<Struct>;
|
||||
%template(StructPtrList) std::list<Struct*>;
|
||||
%template(StructConstPtrList) std::list<const Struct *>;
|
||||
|
||||
%template(FruitList) std::list<Fruit>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue