auto get_xyz_position() -> std::unordered_map<std::string, double *> { ... }
You'll need to elaborate
It's probably the C++ version of the tired EnterpriseBuilderPatternWhateverFactory jokes about java verbosity.