ATLAS Offline Software
|
Provide functions for iterator comparisons. More...
#include <type_traits>
#include <iterator>
Go to the source code of this file.
Classes | |
class | RootUtils::PyROOTIteratorFuncs< T > |
Provide functions for iterator comparisons. More... | |
Namespaces | |
RootUtils | |
Provide functions for iterator comparisons.
This header defines a class RootUtils::PyROOTIteratorFuncs<T>, which contains comparison functions for an iterator type T. Further, when you load the PyROOTFixes module, we set things up so that when an iterator class is made in pyroot, any comparison functions defined in a PyROOTIteratorFuncs class will be automatically added to the python class.
So to get the proper comparison operators for iterators in python, you should generate a dictionary for PyROOTIteratorFuncs<T> (and make sure PyROOTFixes is loaded).
Definition in file PyROOTIteratorFuncs.h.