$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Torjo (john.lists_at_[hidden])
Date: 2004-11-12 14:19:14
Richard Peters wrote:
> In algo.hpp, I see the following code:
> 
>     // template<class fwd_it, class out_it> out_it
>     // rotate_copy(fwd_it first, fwd_it middle, fwd_it last, out_it result);
>     template<class r, class fwd_it, class out_it> inline out_it
> rotate_coy(const r& val1, fwd_it val2, out_it val3) {
>         return ::std::rotate_coy( val1.begin(), val1.end(), val2, val3 );
>     }
>     template<class r, class fwd_it, class out_it> inline out_it
> rotate_coy(r& val1, fwd_it val2, out_it val3) {
>         return ::std::rotate_coy( val1.begin(), val1.end(), val2, val3 );
>     }
also - I made a typo there (rotate_coy instead of rotate_copy)
> 
> I would expect the range version of rotate_copy to take as first parameter a
> range, and as second parameter an iterator pointing to an element inside
You are right. It was my mistake. Fixed it now, thanks.
Best,
John
-- 
John Torjo,    Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- http://www.torjo.com/win32gui/
-- v1.5 - tooltips at your fingertips (work for menus too!)
    + bitmap buttons (work for MessageBox too!)
    + tab dialogs, hyper links, lite html