Re:C's designated initializers give us named arguments
by pjmlp on Thursday November 19, 2026 @03:37PM
(#50566006)
Of course there is, you can do that in initializtion lists, passing fields from one field into the other.
This is a tiny example, with constructor initialization lists, which is possible since C++ARM, and I am not getting creative with what is actually possible.
This is a tiny example, with constructor initialization lists, which is possible since C++ARM, and I am not getting creative with what is actually possible.
https://godbolt.org/z/66TjPK49b