boost::icl::identity_based_inplace_combine
// In header: <boost/icl/functors.hpp> template<typename Type> struct identity_based_inplace_combine { // public static functions static Type identity_element(); };
identity_based_inplace_combine
static Type identity_element();