Ticket #29 (new defect)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by zork

  • Version changed from 1.2.x to devel
  • Milestone changed from 1.4 to future

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

comment:2 Changed 3 years ago by zork

  • Milestone changed from future to 2.0
Note: See TracTickets for help on using tickets.