Beispiel #1
0
void parameter::free(ArrayType &vecParams)
{
	for (ArrayType::iterator iter = vecParams.begin(); iter != vecParams.end(); ++iter)
	{
		delete *iter;
	}
	vecParams.clear();
}
Beispiel #2
0
 /**
  * @brief   Construct an ArrayComparisonFunctor for an array.
  *
  * @param   array   Array to compare values against
  * @param   strict  Flag to use strict type comparison
  */
 ArrayComparisonFunctor(const ArrayType &array, bool strict)
   : itr(array.begin()),
     end(array.end()),
     strict(strict) { }