npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
areAllElementsUnique.hh File Reference

A simple O(n^2) template function for checking if all elements in a container are unique. Works well with small containers. More...

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<class Iter >
bool npstat::areAllElementsUnique (Iter begin, Iter const end)
 

Detailed Description

A simple O(n^2) template function for checking if all elements in a container are unique. Works well with small containers.

Author: I. Volobouev

June 2015