[Xapian-tickets] [Xapian] #186: User subclassable classes should be reference counted
Xapian
nobody at xapian.org
Wed Mar 9 09:22:15 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):
`Weight` isn't relevant here - the weight object passed to
`Enquire::set_weighting_scheme()` doesn't need to live on after the call
(internally that object is cloned, so and the clone used further).
So updated list of classes still to deal with:
* `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)
--
Ticket URL: <https://trac.xapian.org/ticket/186#comment:35>
Xapian <//xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list