Consistent use of const& to pass GrayCode<> around.