| 805 | |
| 806 | template <typename T> |
| 807 | typename T::value_type::second_type min ( |
| 808 | const T& a |
| 809 | ) |
| 810 | { |
| 811 | typedef typename T::value_type::second_type type; |
| 812 | |
| 813 | type temp = 0; |
| 814 | for (typename T::const_iterator i = a.begin(); i != a.end(); ++i) |
| 815 | { |
| 816 | if (temp > i->second) |
| 817 | temp = i->second; |
| 818 | } |
| 819 | return temp; |
| 820 | } |
| 821 | |
| 822 | // ------------------------------------------------------------------------------------ |
| 823 |
no test coverage detected