set_difference algorithm in .NET generic collections?

  • Thread starter Thread starter Duncan Smith
  • Start date Start date
D

Duncan Smith

Just before I have to implement my own.. I don't suppose the .NET
framework has an equivalent of the STL set_difference algorithm
yet...?

For e.g. If I have two containers: CompareSet={1,2,3} ToSet={2,3,4}
then diff(CompareSet,ToSet) = {4} and diff(ToSet,CompareSet) = {1}


Thanks,


Duncan
 
Just before I have to implement my own.. I don't suppose the .NET
framework has an equivalent of the STL set_difference algorithm
yet...?

For e.g. If I have two containers: CompareSet={1,2,3} ToSet={2,3,4}
then diff(CompareSet,ToSet) = {4} and diff(ToSet,CompareSet) = {1}

Thanks,

Duncan

It's okay, just found Wintellect's Power Collections. Should bridge
the gap until stl.net arrives (hopfully in Orcas still?)

Regards,

Duncan
 
Back
Top