Šimon Tóth’s Post

View profile for Šimon Tóth

C++ Educational Content Creator | 20 years of Software Engineering experience distilled into digestible daily posts

C++23 introduced two new algorithms in the ranges namespace. - std::ranges::contains - std::ranges::contains_subrange These two algorithms do not introduce novel behaviour; instead, they remove the need to translate the results of std::ranges::find and std::ranges::search. Compile Explorer link: https://lnkd.in/ee2AUBfj #cpp #cplusplus #coding #programming #dailybiteofcpp

  • text
Rupendra Pandey

HCL Technologies474 followers

2y

Hi Šimon Tóth, Can we use lambda function as second parameter in std::ranges::contains().

Like
Reply
Ahsan N.

Tkxel3K followers

2y

Much needed...

See more comments

To view or add a comment, sign in

Explore content categories