C++ Logo


Advanced search

Re: Axiomed namespaced structures

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Tue, 4 Jan 2022 22:49:31 +0100
On 04/01/2022 22.11, Phil Bouchard via Std-Proposals wrote:
> Honestly, I believe C++ should jumpstart to the next level instead of trying to copy other languages' features and should also retroactively fix its core memory management issues one way or the other. An axiom could be used to add implicit member variables as well to existing structures, which is a step forward for "intrusive reference counting" or a reference to an implicit "proxy" like C++ Superset does.
> Again, otherwise I'll tend to agree with Linus Torvalds when he said that "C++ fixes the wrong problems".
> On 1/4/22 3:56 PM, Phil Bouchard via Std-Proposals wrote:
>> I just saw that the C++23 "Reflection" will be capable of scanning all object members so maybe that can be an alternative or maybe not:
>> https://www.infoworld.com/article/3528882/c-plus-plus-20-spec-finalized-c-plus-plus-23-spec-begins.html

The use-cases you've presented are expected to be addressed
by reflection in a principled manner.

This paper might be a good starting point:


Reflection likely won't make it into C++23.


Received on 2022-01-04 15:49:43