<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _iter_enum_constant_ids(eid):
 """Iterate the constant IDs of all members in the given enum"""

    for bitmask in _iter_bitmasks(eid):
        for value in _iter_enum_member_values(eid, bitmask):
            for cid, serial in _iter_serial_enum_member(eid, value, bitmask):
                yield cid