Get a reverse iterator from a forward iterator without knowing the value type

前端 未结 2 543
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 01:41

I\'m trying to implement some STL-style sorting algorithms. The prototype for std::sort looks something like this (from cplusplus.com):

template         


        
2条回答
提交回复
热议问题