lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 5310: find_top_context () maintenance (issue 341150043 by addr


From: nine . fierce . ballads
Subject: Re: Issue 5310: find_top_context () maintenance (issue 341150043 by address@hidden)
Date: Mon, 23 Apr 2018 16:55:44 -0700

David, would you accept a template class wrapping a non-null pointer,
perhaps non_null_ptr<T>?  Conversion to a raw pointer would be implicit,
but construction from a raw pointer would be explicit.  The person
constructing such a pointer is responsible for ensuring that it is not
null.  The person who uses such a pointer trusts that it is not.

That would retain the pointers that you value and add the nullness
information that I value.

https://codereview.appspot.com/341150043/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]