1 #ifndef H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_WRAPPERS_HPP
2 #define H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_WRAPPERS_HPP
9 template <
class INPUT_IT,
class SIZE,
class OUTPUT_IT>
10 OUTPUT_IT
copy_n(INPUT_IT first, SIZE count, OUTPUT_IT result);
12 template <
class INPUT_IT1,
class INPUT_IT2>
13 bool equal(INPUT_IT1 first1, INPUT_IT1 last1, INPUT_IT2 first2);
15 template <
class INPUT_IT,
class SIZE,
class OUTPUT_IT>
16 OUTPUT_IT
copy_n(INPUT_IT first, SIZE count, OUTPUT_IT result)
20 return ::std::copy_n(first, count, ::stdext::checked_array_iterator<OUTPUT_IT>(result, count)).base();
22 return ::std::copy_n(first, count, result);
26 template <
class INPUT_IT1,
class INPUT_IT2>
27 bool equal(INPUT_IT1 first1, INPUT_IT1 last1, INPUT_IT2 first2)
31 return ::std::equal(first1, last1, ::stdext::make_unchecked_array_iterator(first2));
33 return ::std::equal(first1, last1, first2);