use template specialization instead of overloading for rows::get

use template specialization instead of overloading for rows::get to avoid creating unnecessary temporaries