Namespaces
Variants
Actions

Talk:cpp/memory/voidify

From cppreference.com

[edit] I think we shouldn't keep this page

After LWG3870, this page doesn't seem helpful. --Fruderica (talk) 19:52, 25 July 2023 (PDT)

I created this page because I saw that LWG preferred an implicit conversion from T* to void* instead of using static_cast. I thought there were some behavior difference between these two methods, but I cannot find any this morning. I am not sure whether I have left something out or LWG is just in favor of keeping voidify in the standard.
I will leave the current status as-is and start a thread in isocpp std-discussions forum to ask for the rationale of the resolution wording. If the behavior is identical, this page should be removed. --Xmcgcg (talk) 20:13, 26 July 2023 (PDT)
I don't think implicit and explicit conversions from T* (where T is an object type) to void* can be non-equivalent. I think the major reason for keeping voidify is that doing so would require minimal editorial changes. -- Fruderica (talk) 03:56, 9 August 2023 (PDT)