--
You received this message because you are subscribed to the Google Groups "cxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cxx+uns...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/086167b4-7428-48f6-a1a4-bace8fc669den%40chromium.org.
--
+1 to better const correctness. Explicit internal mutability in a library type like this makes sense to me. Would you be undertaking this change?
If I was to more closely match the naming patterns of well-established const-correct libraries, I'd name it GetWeakPtrMut(). 😇
On Wednesday, 7 September 2022 at 12:01:07 am UTC+10 danakj wrote:+1 to better const correctness. Explicit internal mutability in a library type like this makes sense to me. Would you be undertaking this change?I'll pursue seeing how much work is involved in my spare cycles. Just wanted to check for high level agreement before diving into the task.If I was to more closely match the naming patterns of well-established const-correct libraries, I'd name it GetWeakPtrMut(). 😇SGTM. What are those libraries? This pattern is new to me.
On Wed, Sep 7, 2022 at 12:16 AM Alan Cutter <alanc...@chromium.org> wrote:On Wednesday, 7 September 2022 at 12:01:07 am UTC+10 danakj wrote:+1 to better const correctness. Explicit internal mutability in a library type like this makes sense to me. Would you be undertaking this change?I'll pursue seeing how much work is involved in my spare cycles. Just wanted to check for high level agreement before diving into the task.If I was to more closely match the naming patterns of well-established const-correct libraries, I'd name it GetWeakPtrMut(). 😇SGTM. What are those libraries? This pattern is new to me.