I should have added that, the actual code for "erase bits and set new one" would be something like:
this->__sset = _t_const_value__isset() ; this->__isset.map_val = true; It seems to me that a decent optimizer ought to be able to collapse all that into a single store. But I'm not sure. --chet--