vtf-logo

unique.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00008 #if !defined(__ads_algorithm_unique_h__)
00009 #define __ads_algorithm_unique_h__
00010 
00011 #include "../defs.h"
00012 
00013 #include <algorithm>
00014 #include <functional>
00015 #include <iterator>
00016 #include <vector>
00017 
00018 BEGIN_NAMESPACE_ADS
00019 
00020 //-----------------------------------------------------------------------------
00022 // @{
00023 
00025 
00028 template<typename InputIterator>
00029 bool
00030 areElementsUnique(InputIterator first, InputIterator last);
00031 
00033 
00036 template<typename InputIterator, typename StrictWeakOrdering, 
00037          typename BinaryPredicate>
00038 bool
00039 areElementsUnique(InputIterator first, InputIterator last, 
00040                   StrictWeakOrdering ordering, BinaryPredicate pred);
00041 
00042 // @}
00043 
00044 END_NAMESPACE_ADS
00045 
00046 #define __ads_algorithm_unique_ipp__
00047 #include "unique.ipp"
00048 #undef __ads_algorithm_unique_ipp__
00049 
00050 #endif

Generated on Fri Aug 24 12:55:36 2007 for Algorithms and Data Structures Package by  doxygen 1.4.7