Open marioortizmanero opened 2 years ago
Well, it’s not technically const generics, just clever use of the existing type system. But yes, go ahead, I’d be honoured :D
Ah dang, you're right. Still, sounds like a nice article for whenever I have more time :)
TODO list:
Hey @SabrinaJewson, I hope you don't mind it if I write an article based on your const generics design. It's hard to actually come across usage of const generics in my experience, and I think it could make for a cool post if I can find other similar cases. I'll definitely credit you :)
Edit: I could start with a peano numbers approach, and then go with const generics arithmetics, which will surely work as well and possibly be prettier.