ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
CxxUtils
CxxUtils
ranges.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-2026 CERN for the benefit of the ATLAS collaboration.
4
*/
13
14
15
#ifndef CXXUTILS_RANGES_H
16
#define CXXUTILS_RANGES_H
17
18
19
#include <ranges>
20
21
22
namespace
CxxUtils
{
23
24
26
template
<
class
RANGE,
class
T>
27
concept
InputRangeOverT
=
28
std::ranges::input_range<RANGE> &&
29
std::convertible_to<std::ranges::range_value_t<RANGE>, T>;
30
31
32
}
// namespace CxxUtils
33
34
35
#endif
// not CXXUTILS_RANGES_H
CxxUtils::InputRangeOverT
Concept for an input range over a given type.
Definition
ranges.h:27
CxxUtils
Definition
aligned_vector.h:29
Generated on
for ATLAS Offline Software by
1.17.0