Type inference difference using CMake/Xcode?

I was wondering if anyone else is already aware of this bug which affects any project using CMake to build ArgumentParser. If anyone knows a workaround, I'd love to hear about it.

How strange! That type inference difference reminds me of SE-0230 – the Xcode version looks like the old behavior (but the behavior is very old).

I end up patching the argument parser sources to make it resilient to this change in behavior. I can submit a patch to argument parser if you’re interested.

Please!

My patch is here; feel free to run with that.