There was a typo in my original question. Should read:

int main()
{
 device dev;
 //this works
 if (stabiliser.retraction()==device::HOUSED) cout<<"True\n";
 //but this doesn't compile
 stabiliser.set_retraction(device::RETRACTED);
}

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to