WPILibC++
2023.4.3
ReverseIteration.h
Go to the documentation of this file.
1
#ifndef WPIUTIL_WPI_REVERSEITERATION_H
2
#define WPIUTIL_WPI_REVERSEITERATION_H
3
4
#include "
wpi/PointerLikeTypeTraits.h
"
5
6
namespace
wpi
{
7
8
template
<
class
T =
void
*>
9
bool
shouldReverseIterate
() {
10
#if LLVM_ENABLE_REVERSE_ITERATION
11
return
detail::IsPointerLike<T>::value
;
12
#else
13
return
false
;
14
#endif
15
}
16
17
}
18
#endif
PointerLikeTypeTraits.h
wpi
/file This file defines the SmallVector class.
Definition:
AprilTagFieldLayout.h:18
wpi::shouldReverseIterate
bool shouldReverseIterate()
Definition:
ReverseIteration.h:9
wpi::detail::IsPointerLike
Definition:
PointerLikeTypeTraits.h:46
thirdparty
llvm
include
wpi
ReverseIteration.h
Generated on Mon Mar 27 2023 03:33:35 for WPILibC++ by
1.9.4