[Xapian-tickets] [Xapian] #642: Add C++11 move constructors and assignment ops
Xapian
nobody at xapian.org
Thu Apr 12 08:56:59 BST 2018
#642: Add C++11 move constructors and assignment ops
--------------------------+---------------------------
Reporter: olly | Owner: gp1308
Type: defect | Status: new
Priority: normal | Milestone: 1.4.x
Component: Library API | Version:
Severity: normal | Resolution:
Keywords: GoodFirstBug | Blocked By:
Blocking: | Operating System: All
--------------------------+---------------------------
Changes (by olly):
* owner: olly => gp1308
Comment:
It'd be good to extend this to the other classes. I'm not sure there's
anything special to bear in mind. A sensible approach is probably to
tackle the classes in groups that are similar - e.g. classes which inherit
from `intrusive_base`, those which inherit from `opt_intrusive_base`, the
iterator classes, and anything else.
A simple test case would probably be good - there are generated testcases
for the API classes which is probably the place to do that - see `tests
/generate-api_generated`. That way you probably only need to write one or
two testcases in template form.
--
Ticket URL: <https://trac.xapian.org/ticket/642#comment:4>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list