set_operations.h: Removed superfluous set_intersection.
2008-03-20 Johannes Singler <singler@ira.uka.de> * include/parallel/set_operations.h: Removed superfluous set_intersection. From-SVN: r133391
This commit is contained in:
parent
8a57e48f5b
commit
8894d2ba38
2 changed files with 5 additions and 14 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-03-20 Johannes Singler <singler@ira.uka.de>
|
||||
|
||||
* include/parallel/set_operations.h: Removed superfluous
|
||||
set_intersection.
|
||||
|
||||
2008-03-19 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
PR libstdc++/35256
|
||||
|
|
|
@ -500,20 +500,6 @@ template<typename InputIterator,
|
|||
intersection_func<InputIterator, OutputIterator, Comparator>(comp));
|
||||
}
|
||||
|
||||
|
||||
template<typename InputIterator, typename OutputIterator>
|
||||
inline OutputIterator
|
||||
set_intersection(InputIterator begin1, InputIterator end1,
|
||||
InputIterator begin2, InputIterator end2,
|
||||
OutputIterator result)
|
||||
{
|
||||
typedef std::iterator_traits<InputIterator> traits_type;
|
||||
typedef typename traits_type::value_type value_type;
|
||||
|
||||
return set_intersection(begin1, end1, begin2, end2, result,
|
||||
std::less<value_type>());
|
||||
}
|
||||
|
||||
template<typename InputIterator,
|
||||
typename OutputIterator,
|
||||
typename Comparator>
|
||||
|
|
Loading…
Add table
Reference in a new issue