Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#570 closed Bugs (fixed)

boost::format parse method doesn't work

Reported by: andyjoseph Owned by: Samuel Krempp
Milestone: Component: format
Version: None Severity: Problem
Keywords: Cc:

Description (last modified by René Rivera)

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();

cout << fmt.str();

The output is:

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

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by Samuel Krempp

Owner: changed from samuel_k to Samuel Krempp
Severity: Problem
Status: assignednew

comment:2 Changed 10 years ago by Samuel Krempp

Status: newassigned

comment:3 Changed 10 years ago by Samuel Krempp

Resolution: Nonefixed
Status: assignedclosed

comment:4 Changed 10 years ago by Samuel Krempp

Thanks for spotting this, the bugfix is commited. And sorry for the delay.

comment:5 Changed 10 years ago by René Rivera

Component: Noneformat
Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Samuel Krempp.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.