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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.