Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 601 Bytes
/* ----------------------------------------------------------------------------
** Copyright (c) 2016 Austin Brunkhorst, All Rights Reserved.
**
** MetaUtils.hpp
** --------------------------------------------------------------------------*/
namespace utils
{
template<typename A, typename B>
bool RangeEqual(A startA, A endA, B startB, B endB)
{
while (startA != endA && startB != endB)
{
if (*startA != *startB)
return false;
++startA;
++startB;
}
return (startA == endA) && (startB == endB);
}
}
You can’t perform that action at this time.