www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Patterns for overload set recursion disambiguated by named arguments

raylib has a collection of well-organized but verbose functions
https://www.raylib.com/cheatsheet/cheatsheet.html

looking at draw
colors are named `color` or if part of a gradient `color1` and 
`color2`
`posx` and `centerx` are a bit more confusing but it should be 
fine
etc.

So I want to make an extremely overload draw function that 
eventually calls some set of these functions, but Im pretty sure 
that "named arguments dont survive T..." is causing problems for 
me, and I'm unsure how to work around it as I make more complex 
versions.

https://github.com/crazymonkyyy/raylib-2024/blob/master/monkyyylib/monkyyydraw.d

(or alternatively please make named arguments survive T...)
Dec 12 2023