www.digitalmars.com         C & C++   DMDScript  

c++ - mutable bit-fields

struct A
{
  mutable bool a:1;
  // Error:  storage class is illegal in this context
  bool b:1;
};

int main()
{
  A a;

  return 0;
}


Found in Boost.Signals (low priority).


bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw jabber.at
mailto cmeerw at web.de

...and what have you contributed to the Net?
Jan 02 2003