To which of these containers can the sort function from <algorithm> be applied to?
template<class _RanIt> inline void std::sort(_RanIt _First, _RanIt _Last)
Explanation
Function std::sort requires container to have random access iterators

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести