Re: [Boost-bugs] [Boost C++ Libraries] #570: boost::format parse method doesn't work

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #570: boost::format parse method doesn't work
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-18 14:35:01


#570: boost::format parse method doesn't work
-------------------------+--------------------------------------------------
  Reporter: andyjoseph | Owner: samuel_krempp
      Type: Bugs | Status: closed
 Milestone: | Component: format
   Version: None | Severity: Problem
Resolution: fixed | Keywords:
-------------------------+--------------------------------------------------
Changes (by grafik):

  * component: None => format

Old description:

> {{{
> In version 1.33.1:
>
> The method boost::format.parse() doesn't properly reset
> its internal state. The simple code block below
> demonstrates this.
>
> format fmt("one");
> cout << fmt.str();
>
> fmt.parse("two");
> cout << fmt.str();
>
> ---
> The output is:
> oneonetwo
>
> What's happening is the parse method seems to append
> the second parsing string to the first one.
> }}}

New description:

 {{{
 In version 1.33.1:

 The method boost::format.parse() doesn't properly reset
 its internal state. The simple code block below
 demonstrates this.

 format fmt("one");
 cout << fmt.str();

 fmt.parse("two");
 cout << fmt.str();

 ---
 The output is:
 oneonetwo

 What's happening is the parse method seems to append
 the second parsing string to the first one.
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/570#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC