[Xapian-tickets] [Xapian] #186: User subclassable classes should be reference counted

Xapian nobody at xapian.org
Thu Jan 7 05:46:46 GMT 2016


#186: User subclassable classes should be reference counted
-------------------------+-------------------------------
 Reporter:  richard      |             Owner:  olly
     Type:  defect       |            Status:  assigned
 Priority:  normal       |         Milestone:  1.3.5
Component:  Library API  |           Version:  git master
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+-------------------------------

Comment (by olly):

 Actually, it's only some functor classes that this is useful for - ones
 which just get passed to a method and used by it don't need it, only cases
 where the functor is stored by the object for later use.

 Classes to do:

   * `ErrorHandler` (? might just get removed/replaced)
   * `ExpandDecider` (? lingering references exist via `ExpandDeciderAnd`)
   * `LatLongMetric` (? is this class just too much generality?)
   * `KeyMaker`
   * `PostingSource` (? has clone(), but bindings need to handle specially)
   * `Stopper`
   * `Weight` (? not wrappable for bindings it seems)

--
Ticket URL: <http://trac.xapian.org/ticket/186#comment:33>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list