Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-08-10 02:19:23

Bugs item #1537844, was opened at 2006-08-10 16:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John (drjohnfoster)
Assigned to: Nobody/Anonymous (nobody)
Summary: format zero length string msvc-8

Initial Comment:
Since Microsoft have deprecated most of the standard
library, their debug libraries also check for unsafe
pointers. The following code gives an assertion:

(boost::format("%s") % "").str();

In debug mode, basic_string<char>::append(0, 0)
called from mk_str in feed_args.hpp is tested by the
macro _DEBUG_POINTER, and decides the pointer is
invalid even though the count is 0.

I imagine this toxic behaviour is repeated in a
number of places. It would be nice if the boost
library could work around this problem at a low level.


You can respond by visiting:

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at