Why not allow elementwise operations on tuples?

Sergei Nosov sergei.nosov at gmail.com
Thu Jan 19 13:00:48 UTC 2023


On Wednesday, 18 January 2023 at 16:42:00 UTC, JG wrote:
> I guess such a method wouldn't be particularly generic since a 
> tuple does not need to consist of types that have the same 
> operations e.g. Tuple!(int,string) etc

That's where `areCompatibleTuples` function comes in!


More information about the Digitalmars-d-learn mailing list