IsTuple returns true for Nullable!SomeTuple

Ben Jones fake at fake.fake
Wed Dec 2 05:25:09 UTC 2020


This seems like very surprising behavior to me.  Is it a bug?

import std.typecons;
alias NT = Nullable!(Tuple!(int, double));
pragma(msg, isTuple!NT); //prints true!


More information about the Digitalmars-d-learn mailing list