std.regex.Stack
Vladimir Panteleev
vladimir at thecybershadow.net
Thu Sep 5 16:11:19 PDT 2013
On Thursday, 5 September 2013 at 22:49:49 UTC, H. S. Teoh wrote:
> Today, I was surprised to discover that std.regex has a public
> stack
> implementation (std.regex.Stack). Is this intended to be
> public? It's
> causing a conflict with my code, and I found it strange that
> importing
> std.regex should declare a type called 'Stack'.
The declaration is not public - there is a "private:" line at the
top of the file, and the module declares its public symbols
explicitly.
Conflicts between public and private symbols is a long-standing
problem of D:
http://d.puremagic.com/issues/show_bug.cgi?id=1238
http://wiki.dlang.org/DIP22
More information about the Digitalmars-d
mailing list