summaryrefslogtreecommitdiffstats
path: root/Source/cmAlgorithms.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-08-27 13:54:54 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-03 13:52:14 (GMT)
commitab94c369c9f653d249e5a48ccc43f2dd2d95bc56 (patch)
tree14421b0b0fb0f0b2461a2e73b73d8828da3e0d2b /Source/cmAlgorithms.h
parent80e0245e0e05c27dee316a9b53e23a4c0b12a9fe (diff)
downloadCMake-ab94c369c9f653d249e5a48ccc43f2dd2d95bc56.zip
CMake-ab94c369c9f653d249e5a48ccc43f2dd2d95bc56.tar.gz
CMake-ab94c369c9f653d249e5a48ccc43f2dd2d95bc56.tar.bz2
Refactor: Convert parallel string/backtrace vectors to BT vectors
Diffstat (limited to 'Source/cmAlgorithms.h')
-rw-r--r--Source/cmAlgorithms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmAlgorithms.h b/Source/cmAlgorithms.h
index c192e2a..d00f420 100644
--- a/Source/cmAlgorithms.h
+++ b/Source/cmAlgorithms.h
@@ -60,6 +60,10 @@ class cmListFileBacktrace;
using cmBacktraceRange =
cmRange<std::vector<cmListFileBacktrace>::const_iterator>;
+template <typename T>
+class BT;
+using cmBTStringRange = cmRange<std::vector<BT<std::string>>::const_iterator>;
+
template <typename Range>
typename Range::const_iterator cmRemoveN(Range& r, size_t n)
{