C++ Logo

std-proposals

Advanced search

[std-proposals] PROPOSAL: allow implicit conversion from void * to X *

From: Veгified ✔ <liamgraham_at_[hidden]>
Date: Sun, 20 Sep 2026 22:04:27 +0000


Hello.

C allows void * to X * implicit conversions.
However I found that C++ does not offer such feature, preferring developers to use static_cast

Casting explicitly because the element types aren't the same slows down development speed and adds no technical benefit.

So I propose that we allow C-style implicit conversions, to speed up ease of development.

Thank you for your considerations.

Received on 2026-09-20 22:04:30