ATLAS Offline Software
Control
CxxUtils
CxxUtils
iterator_range.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
4
*/
13
#ifndef CXXUTILS_ITERATOR_RANGE_H
14
#define CXXUTILS_ITERATOR_RANGE_H
15
16
17
#include <utility>
18
19
20
namespace
CxxUtils
{
21
22
35
template
<
class
ITER>
36
class
iterator_range
:
public
std::pair<ITER, ITER>
37
{
38
public
:
39
using
std::pair<ITER, ITER>::pair;
40
ITER
begin
()
const
{
return
this->
first
; }
41
ITER
end
()
const
{
return
this->
second
; }
42
};
43
44
45
}
// namespace CxxUtils
46
47
48
#endif // not CXXUTILS_ITERATOR_RANGE_H
CxxUtils::iterator_range::begin
ITER begin() const
Definition:
iterator_range.h:40
python.SystemOfUnits.second
float second
Definition:
SystemOfUnits.py:135
CxxUtils::iterator_range
Simple range from a pair of iterators.
Definition:
iterator_range.h:37
CxxUtils::iterator_range::end
ITER end() const
Definition:
iterator_range.h:41
CxxUtils
Definition:
aligned_vector.h:29
DeMoScan.first
bool first
Definition:
DeMoScan.py:534
Generated on Fri Nov 21 2025 21:12:04 for ATLAS Offline Software by
1.8.18