On Saturday, 23 November 2019 at 13:17:49 UTC, mipri wrote:
template isNamed(alias T) { enum isNamed = hasStaticMember!(T, "secretlyIsNamed"); }
this looks like a place to use a @Named uda! @Named struct World {} @Named struct Bob {} or mebbe @implements!Namedis an option to explore too. Then it cleans up the secretlyIsNamed reflection issue.