Visibility of variables in struct nested within a class

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


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;
         }
     }
}


More information about the Digitalmars-d-learn mailing list