www.digitalmars.com         C & C++   DMDScript  

D - typedefs and aliases always public

reply Sark7 <sark7 mail333.com> writes:
Why? It is a bad idea imho.
Mar 03 2004
parent reply C. Sauls <C._member pathlink.com> writes:
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
Mar 03 2004
parent Manfred Nowak <svv1999 hotmail.com> writes:
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.
Mar 06 2004