[Bug libstdc++/41351] std::rotate on RAI does not conform to ISO complexity requirement

potswa at mac dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 30 03:56:00 GMT 2009



------- Comment #38 from potswa at mac dot com  2009-10-30 03:56 -------
Created an attachment (id=18932)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18932&action=view)
C++ snippet containing example function template

improved algorithm with forward/backward and std::copy cases.

Excerpted from my test file. Not suitable for real use: at a glance, it's
missing the random_access_iterator_tag argument. I'm not in the programming
groove at the moment and can't proofread, polish, etc.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351



More information about the Gcc-bugs mailing list