Fallback 'catch-all' template functions
Ethan Watson via Digitalmars-d
digitalmars-d at puremagic.com
Thu Sep 1 01:00:38 PDT 2016
On Thursday, 1 September 2016 at 05:37:50 UTC, Manu wrote:
> I have a recurring problem where I need a fallback function
> like the bottom one, which should be used in lieu of a more
> precise match.
+1. I've already hit this a few times with Binderoo. I would have
assumed that constraints are just another form of specialisation,
but it requires me to be explicit with the base functionality.
More information about the Digitalmars-d
mailing list