Refactor|libcommon: Switched common/src/p_map to C++