I want to create my own Tuple type
Paul Backus
snarwin at gmail.com
Mon Jan 11 01:49:26 UTC 2021
On Sunday, 10 January 2021 at 16:52:30 UTC, Ola Fosheim Grøstad
wrote:
> I want to create my own Tuple type, and I don't like the messy
> implementation of the one in D's standard lib, or the one in
> Clang++'s standard lib. The concept is very simple so it is
> disheartening if it cannot be done in a simple way that does
> not impact compile times... :-/
>
> The requirements are:
>
[...]
>
> 2. If all types are similar then it should be implemented as a
> static array with indexing. If not, then all fields should have
> the names __0, __1 etc.
Why are these particular implementation details important to you?
More information about the Digitalmars-d-learn
mailing list