Š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

The two algorithms, std::replace and std::replace_if, will replace elements of a range that match the provided value or predicate with a new provided value. Both algorithms are constexpr enabled (C++20) and have parallel (C++17) and range (C++20) variants. Compiler Explorer link: https://lnkd.in/ep2qXbmh #cpp #cplusplus #coding #programming #dailybiteofcpp

  • text

To view or add a comment, sign in

Explore content categories