On Wed, 4 Apr 2018, kefu chai wrote:
agreed, i think that's why try_emplace() was added in C++17.
Exactly. It avoids the move if there's no insertion. -Jesse -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html