cpp_weekly icon indicating copy to clipboard operation
cpp_weekly copied to clipboard

Using Custom Comparators for STL/Ranges algorithms

Open Bluesman74 opened this issue 1 year ago • 0 comments

Channel

This is a "C++Weekly" episode request?

Topics

Using Custom Comparators for STL/Ranges algorithms

  • Using a Custom Comparator for std::map
  • Using a Custom Comparator for std::set
  • Using a Custom Comparator for std::... (other useful containers)
  • Using the set algorithms from the STL with containers (set_difference, set_intersection, set_symmetric_difference, set_union)
  • Using the above set algorithms when the sets contain different things, but some common member(s) (use of is_transparent typedef, and decltype for providing comparer)

Length

This episode should be more long form (10-20 minutes)?

Bluesman74 avatar Mar 24 '23 18:03 Bluesman74