Boost logo

Boost Users :

From: Stefan Arentz (stefan.arentz_at_[hidden])
Date: 2008-02-04 08:13:38


On Feb 4, 2008 2:03 PM, Stefan Arentz <stefan.arentz_at_[hidden]> wrote:

> void do_filter(const vector_type& src, vector_type& dest)
> {
> for (size_t i = 0; i < src.size(); ++i) {
> dest.push_back(src[i] + 13);
> }
> }

Oh please note that I know this is not really rot13. I just needed a
simple test and this works fine input like "abcABC" .. the original
problem still stands :-)

 S.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net