Thread overview | |||||
---|---|---|---|---|---|
|
March 04, 2004 typedefs and aliases always public | ||||
---|---|---|---|---|
| ||||
Why? It is a bad idea imho. |
March 04, 2004 Re: typedefs and aliases always public | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sark7 | In article <opr4bhnbczut8jae@news.digitalmars.com>, Sark7 says... > >Why? It is a bad idea imho. Unless I'm mistaken the following should work just fine... <snip> module mymod; . . private { typedef int my_t; alias double real64; } . . </snip> -C. Sauls -Invironz |
March 06, 2004 Re: typedefs and aliases always public | ||||
---|---|---|---|---|
| ||||
Posted in reply to C. Sauls | C. Sauls wrote:
> Unless I'm mistaken the following should work just fine...
[...]
As I already reported under "[experts] private typedef" the private attribute is accepted but not followed.
So long.
|
Copyright © 1999-2021 by the D Language Foundation