------- 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