This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Improve std::rotate usages


Any feedback regarding this patch ?


On 02/05/2018 07:26, François Dumont wrote:
Hi

    std::rotate already returns the expected iterator so there is no need for calls to std::advance/std::distance.

Tested under Linux x86_64, ok to commit ?

François



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]