[boost] boost::add_reference breaks type deduction