std.typecons.Flag -- public import for API users?
rcorre via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Mar 21 16:16:37 PDT 2015
If I am developing a library and some of my functinos take a
std.typecons.Flag as an argument, should I 'public import
std.typecons: Flag, Yes, No'?
It seems like it would be a pain for users of the library to have
to import this separately whenever they use my library, but I'm
not sure what the stance is on having your modules `public
import` standard-library modules.
In general, is it considered bad form to 'public import' modules
from phobos?
More information about the Digitalmars-d-learn
mailing list