C++ Logo

std-discussion

Advanced search

Is 'voidify' de facto removed by the resolution of LWG issue #3870?

From: Geng Cheng <xmcgcg_at_[hidden]>
Date: Sun, 30 Jul 2023 17:32:44 +0000
The resolution of LWG3870 removed the explicit casts in the exposition-only function ‘voidify’, leaving the implicit conversion to ‘void*’. Does it mean that the behavior of voidification falls back to evaluating static_cast<void*>(std::addressof(expr)), the expression which ‘voidify’ replaced in C++20?

Geng

Received on 2023-07-30 17:32:48