[Xapian-tickets] [Xapian] #454: Move to noexcept(true) (was: Mark up methods as "nothrow")

Xapian nobody at xapian.org
Sat Oct 19 06:39:10 BST 2019


#454: Move to noexcept(true)
--------------------------+-------------------------------
 Reporter:  olly          |             Owner:  olly
     Type:  enhancement   |            Status:  assigned
 Priority:  normal        |         Milestone:  1.5.0
Component:  Build system  |           Version:  git master
 Severity:  normal        |        Resolution:
 Keywords:                |        Blocked By:
 Blocking:                |  Operating System:  All
--------------------------+-------------------------------
Changes (by olly):

 * status:  new => assigned
 * version:  SVN trunk => git master
 * milestone:  1.4.x => 1.5.0


Comment:

 We now require a C++11 compiler for the API headers too so we should
 probably drop `XAPIAN_NOTHROW` and `XAPIAN_NOEXCEPT` and just use
 `noexcept(true)` instead.

 The awkward part is we currently rely on crudely parsing `XAPIAN_NOTHROW`
 to avoid exception wrapping methods which can't throw, but perhaps we can
 get SWIG to do that for us automatically.

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



More information about the Xapian-tickets mailing list