Distributed Ranges
Loading...
Searching...
No Matches
include
dr
detail
ranges_shim.hpp
1
// SPDX-FileCopyrightText: Intel Corporation
2
//
3
// SPDX-License-Identifier: BSD-3-Clause
4
5
#pragma once
6
7
// TODO: use libstdc++ 13.0 or greater if available.
8
9
// #define DR_USE_STD_RANGES
10
11
#ifdef DR_USE_STD_RANGES
12
13
#include <ranges>
14
15
namespace
rng = ::std::ranges;
16
17
#define DR_RANGES_NAMESPACE std::ranges
18
19
#else
20
21
#include <range/v3/all.hpp>
22
23
namespace
rng = ::ranges;
24
25
#define DR_RANGES_NAMESPACE ranges
26
27
#endif
Generated by
1.9.6