summaryrefslogtreecommitdiffstats
path: root/Source/cmAlgorithms.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-18 09:09:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-22 18:25:47 (GMT)
commit514a1dff5b532c94dca2f77ed6d8742f45c48ddc (patch)
treec47f348e2e4a35c7eb5ac4900a86aa7935285f54 /Source/cmAlgorithms.h
parentc7b39d06f9b1b5843682f52992634c8dad22aece (diff)
downloadCMake-514a1dff5b532c94dca2f77ed6d8742f45c48ddc.zip
CMake-514a1dff5b532c94dca2f77ed6d8742f45c48ddc.tar.gz
CMake-514a1dff5b532c94dca2f77ed6d8742f45c48ddc.tar.bz2
cmAlgorithms: Add some convenient typedefs.
Diffstat (limited to 'Source/cmAlgorithms.h')
-rw-r--r--Source/cmAlgorithms.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmAlgorithms.h b/Source/cmAlgorithms.h
index a4447ad..e510fcf 100644
--- a/Source/cmAlgorithms.h
+++ b/Source/cmAlgorithms.h
@@ -178,6 +178,12 @@ private:
const_iterator End;
};
+typedef cmRange<std::vector<std::string>::const_iterator> cmStringRange;
+
+class cmListFileBacktrace;
+typedef
+cmRange<std::vector<cmListFileBacktrace>::const_iterator> cmBacktraceRange;
+
template<typename Iter1, typename Iter2>
cmRange<Iter1> cmMakeRange(Iter1 begin, Iter2 end)
{