Thread overview
typedefs and aliases always public
Mar 04, 2004
Sark7
Mar 04, 2004
C. Sauls
Mar 06, 2004
Manfred Nowak
March 04, 2004
Why? It is a bad idea imho.
March 04, 2004
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
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.