On Fri, 29 Aug 2025 at 10:40, Richard Biener <rguent...@suse.de> wrote:
> So, is std::start_lifetime_as<T> a thing on readonly objects?

Yes. It has a const void* overload. From a language-conceptual
perspective, there's nothing odd about creating
a const buffer from bit soup and then starting the lifetime of an
object of another type in that buffer.

>From a language perspective it's not a store. It just tells the
language that an object of type T resides in that storage.

Reply via email to