Implement "perfect forwarding" for HR impls (#19730).