On Thu, 2015-08-20 at 14:44 -0400, aconway wrote:
> Here's the API doc, the code is coming. It is like previous proposals
> which were well received but more correct. It has *two* conversion
> types, pn_borrowed_ptr and pn_given_ptr. This both automates the
> refcounting for smart pointers and acts as "hard" documentation of
> the
> ownership rules for plain pointers. Conversion types like this are
> not
> a new idea - CORBA used to have something like it.

Small linguistic quibble: 

"given" goes with "lent"
"taken" goes with "borrowed" (or maybe "owned" is better than "taken"?)

(Your suggested names are confused about whether they are from the API
implementation or client side)


Reply via email to