On Monday 18 March 2002 1:54 pm, Andre Poenitz wrote:
> On Mon, Mar 18, 2002 at 01:47:35PM +0000, Angus Leeming wrote:
> >     char const * const tmp = result.str().c_str();
> >     string result_str = tmp ? strip(tmp) : string();
>
> Thsis looks a bit strange as .c_str() _always_ returns a non-null pointer.

Really? What happens when the string is empty? It returns "\0" ?

Good.

Angus

Reply via email to