Visibility of variables in struct nested within a class

John Colvin john.loughran.colvin at gmail.com
Fri Jul 5 14:21:27 PDT 2013


On Friday, 5 July 2013 at 21:20:27 UTC, John Colvin wrote:
> On Friday, 5 July 2013 at 20:47:45 UTC, Charles Hixson wrote:
> I don't mean to come off as a formatting fascist, but you'll 
> get more responses from busy people if you format in a more 
> familiar way, e.g.
>
> class Outer
> {
>     int inn;
>
>     struct InnerS
>     {
>         int able;
>
>         void setable()
>         {
>              able = inn;
>         }
>     }
> }

woops, sorry, deleted the whole quote by accident.


More information about the Digitalmars-d-learn mailing list