Template Function eshet::oh_with_zone

Function Documentation

template<typename T>
msgpack::object_handle eshet::oh_with_zone(const T &value)

convert an arbitrary value to an object_handle with a zone; this is required if T corresponds to MessegePack format str, bin, ext, array, or map. We should avoid using this automatically as it results in an extra allocation compared to just constructing a msgpack::object