Boost logo

Boost Users :

Subject: Re: [Boost-users] [Iterators] iterators over char *
From: Patrick Horgan (phorgan1_at_[hidden])
Date: 2010-11-01 19:33:49


On 11/01/2010 01:16 PM, Rao, Anant wrote:


Hi,

 

I have a ‘char *’. I need to be able to traverse thru the string in both fwd and reverse directions.

A char* is a reversible iterator already.  Reversible iterators are modeled to look like pointers.

Patrick

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