On Tuesday, 24 March 2015 at 16:41:28 UTC, Rene Zwanenburg wrote:
Should not be necessary. privately import Flag and make a public alias:

module a;
import std.typecons : Flag;

alias SomeFlag = Flag!"SomeFlag";

SomeFlag.Yes and SomeFlag.No should be usable in other modules without additional imports.

Nice idea Rene, thanks!

Reply via email to