Ticket #29 (new defect)
bad implementation of dba::stdSet collection filter
| Reported by: | olq | Owned by: | zork |
|---|---|---|---|
| Priority: | major | Milestone: | 2.0 |
| Component: | Archive interface | Version: | devel |
| Keywords: | Cc: |
Description
dba::stdSet collection filter doesn't work for sets which have defined comparator. Sample bellow, cause compiler error:
class MyClass : public dba::Storeable {
DECLARE_STORE_TABLE();
//(...)
std::set<MyMemberClass, MyMemberClassesComparator> mMembers;
//(...)
};
BEGIN_STORE_TABLE(MyClass, dba::Storeable, "myclass_table")
//(...)
BIND_COL(MyClass::mMembers, dba::stdSet<MyMemberClass>, "myclass_id")
//(...)
END_STORE_TABLE();
Change History
Note: See
TracTickets for help on using
tickets.

This can't be implemented using store table macros and have to wait for store table redesign, which is planned for 2.0