cpp: mirror D impl
cpp: remove underscore madness