On Wed May 15 13:11:30 2024 +0000, Piotr Caban wrote:
I forgot to mention that native accepts multiple $$V sequences, so e.g. `?AU?$my_iter@H$0A@$$V$$V@@` is also parsed (but probably doesn't make sense and nothing is mangled this way).
to go one step further native also unmangles without whining something like `"?AU?$my_iter@H$0A@$$VJ@@"` into `struct my_iter<int,0,long>` (which doesn't make any sense in a C++ way either) so it looks like the $$V sequence is just a marker for the end of a variadic template, that is unmangled into nothing, and doesn't seem to have (at least the ucrtbase version I've used) other visible action so the attached patch should be enough [err](/uploads/977e89694bc0fcda26a3ba0f1ccb46b7/err)