Merge pull request #13091 from mitaclaw/ranges-modernization-2-returns Ranges Algorithms Modernization - Return