cmAlgorithms: Add some convenient typedefs.

This commit is contained in:
Stephen Kelly 2015-07-18 11:09:20 +02:00
parent c7b39d06f9
commit 514a1dff5b
1 changed files with 6 additions and 0 deletions

View File

@ -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)
{