cps-org / cps-config

A drop in replacement for pkg-config/pkgconf using cps files
MIT License
15 stars 7 forks source link

loader: use template specialization instead of multiple functions #39

Closed dcbaker closed 1 month ago

dcbaker commented 2 months ago

It just looks cleaner to me

bretbrownjr commented 2 months ago

@dcbaker How are you feeling about this one? You could always land it and let someone else fiddle with tag dispatch if they care.

dcbaker commented 1 month ago

I looked at tagged dispatch a bit and got something working, but felt like the end result was worse than either what's in main now or this, so I think my preference would be to merge this now as-is unless and someone else can follow up with tagged dispatch to see if that looks better than what we already have.

bretbrownjr commented 1 month ago

@dcbaker Looks like we have conflicts blocking this one.