Closed everythingfunctional closed 2 years ago
Another thought ala Magne's use of sub-templates for optional arguments. Imagine a GeneralizedIntrinsics template that takes a type T. It then has subtemplates for things that need
equals
orless
, etc. Not sure how fruitful it would be, but might be a good tutorial case to show the power?
That's possibly an interesting use case. Might be worth discussing/exploring at the next meeting.
Another thought ala Magne's use of sub-templates for optional arguments. Imagine a GeneralizedIntrinsics template that takes a type T. It then has subtemplates for things that need
equals
orless
, etc. Not sure how fruitful it would be, but might be a good tutorial case to show the power?