cpp can set enums from strings

eg.

	set("extend", "copy")->