www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - (structed un)named enum

Is the only difference between

enum E{ A}

and

struct E{
  enum { A}
}

that in the latter case variables of type E are pseudo variables, 
i.e. they cannot be assigned to?

-manfred
Jul 23 2005