Forcing opDispatch error (not SFINAE?)
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 17 13:41:18 PDT 2014
On Tuesday, 17 June 2014 at 20:26:11 UTC, deadalnix wrote:
> No SFINAE please. That is an idiotic C++ idiom. use template
> constraints if you want to disable this template for some
> parameter sets. static assert is to statically assert. In this
> case it fails. As it should !
As far as I understand Luís wants exactly that, for static assert
to trigger. Looks like some sort of error gagging hides it and
"parent" error message gets printed instead. D does not support
SFINAE in general as far as I know.
More information about the Digitalmars-d
mailing list