[Xapian-tickets] [Xapian] #580: Patch to add Error::clone()
Xapian
nobody at xapian.org
Tue Apr 10 13:05:28 BST 2018
#580: Patch to add Error::clone()
-------------------------+-------------------------
Reporter: olly | Owner: olly
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Library API | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+-------------------------
Description changed by ankitadixit:
Old description:
> I thought this feature would be useful in the bindings, but it turns out
> it isn't, since we always also need something based on the class name too
> (and not just the C++ classname as a string literal, which we can
> efficiently get from the error object).
>
> But I'd implemented it before I realised that, so here's the patch in
> case we decide it is useful generally, or find a way to use it in the
> bindings.
New description:
I thought this feature would be useful in the bindings, but it turns out
it isn't, since we always also need something based on the class name too
(and not just the C++ classname as a string literal, which we can
efficiently get from the error object).
But I'd implemented it before I realised that, so here's the patch in case
we decide it is useful generally, or find a way to use it in the bindings.
http://www.fixithere.net/dvla-contact-number/
--
--
Ticket URL: <https://trac.xapian.org/ticket/580#comment:1>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list