intern_boxed_field_ref
Summary:
intern_boxed_field_ref is a field_ref for boxed_value to support thrift.InternBox. It currently only supports Thrift struct. It passes around op::getDefault to get the constant immutable default value for deduping so that user can reset with `intern_boxed_field_ref::reset`. For now, we do not want any const T* to be used for interning, but only supports default value.
intern_boxed_field_ref provides fill semantic with isset, which can distinguish absent and empty.
Reviewed By: Alfus
Differential Revision:
D40422910
fbshipit-source-id:
e6aa2cbeba45821ffd6aff188660eec1ccce7da8