Skip to content

Add overload to set_difference_by_key(...) that doesn't require values2 #785

@aabbas90

Description

@aabbas90

First of all, great library!

I am having some confusion in understanding the role of values_first2 in set_difference_by_key as mentioned here.

In general terms, the result of set difference D = A - B will not contain values from B therefore values_first2 can never be part of D. So values_first2 will never be used in this function and thus should be removed as an input argument. Is my understanding correct? Thanks.

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomers.thrustFor all items related to Thrust.

Type

No type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions