Re: [Boost-bugs] [Boost C++ Libraries] #2024: boost::format("%p") % (uint8_t *) str is not like printf("%p", str)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2024: boost::format("%p") % (uint8_t *) str is not like printf("%p", str)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-14 01:05:23


#2024: boost::format("%p") % (uint8_t *) str is not like printf("%p", str)
----------------------------------------------------+-----------------------
  Reporter: Geoff Barrett <gbarrett@…> | Owner: samuel_krempp
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: format
   Version: Boost 1.34.0 | Severity: Problem
Resolution: wontfix | Keywords:
----------------------------------------------------+-----------------------
Changes (by marshall):

  * status: new => closed
  * resolution: => wontfix

Comment:

 My copy of the C99 standard (n869) says about "%p":

 p The argument shall be a pointer to void. The value of the pointer
 is converted to a sequence of printing characters, in an implementation-
 defined manner.

 Given that, I don't see any way that Boost.Format can "match what printf
 prints".

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2024#comment:2>
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:50:03 UTC