pothos: util does enum rewrite for c++ style