[Xapian-tickets] [Xapian] #642: Add C++11 move constructors and assignment ops

Xapian nobody at xapian.org
Mon Apr 16 07:45:35 BST 2018


#642: Add C++11 move constructors and assignment ops
--------------------------+---------------------------
 Reporter:  olly          |             Owner:  gp1308
     Type:  defect        |            Status:  new
 Priority:  normal        |         Milestone:  1.5.0
Component:  Library API   |           Version:
 Severity:  normal        |        Resolution:
 Keywords:  GoodFirstBug  |        Blocked By:
 Blocking:                |  Operating System:  All
--------------------------+---------------------------

Comment (by olly):

 I've pushed a commit which extends the generated apitest testcases to
 check that `std::move` works on API classes which are meant to be copyable
 (98c0e0d3f7778ec20ab7e62f67c2edc03aa392f7).  This doesn't attempt to check
 if the object is actually moved (that seems hard to do without poking at
 the internals) but it at least checks that any move constructor/operators
 that we add compile and pass a basic sanity check.

--
Ticket URL: <https://trac.xapian.org/ticket/642#comment:6>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list