vittorioromeo / scelta

(experimental) Syntactic sugar for variant and optional types.
https://vittorioromeo.info
MIT License
157 stars 11 forks source link

Current recursive visitation mechanism no longer needed with the C++23 "Deducing This" feature. #18

Open no-more-secrets opened 1 year ago

no-more-secrets commented 1 year ago

I think scelta::match can now be simplified since any of the overloaded lambdas can opt in to including an explicit "self" parameter which can be used to do the recursion.