Subject: [Boost-bugs] [Boost C++ Libraries] #4659: I have 4 new conversion chars I want
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-19 08:35:20
#4659: I have 4 new conversion chars I want
---------------------------------------------------------+------------------
Reporter: Francis (Grizzly) Smit <grizzly@â¦> | Owner: samuel_krempp
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: format
Version: Boost Development Trunk | Severity: Not Applicable
Keywords: conversion chars |
---------------------------------------------------------+------------------
I have already implemented these using the trunk from your subversion:
1). '''%B''' this prints out a bool as text true/false
2.a). '''%b''' prints out the integer, long what ever as a binary number.
2.b). '''%b(''<sign><base>'')''' prints any integer argument as a base
'''''<base>''''' number where '''2 <= ''<base>'' <= 36''', if
'''''<sign>''''' is '''-''' then use lowercase chars as digits if
'''''<sign>''''' is '''+''' or nothing then use uppercase chars for the
digits.
3). '''%r''' inspired by your own '''%t''' but '''%r''' repeats a space
width times it does not do tabulation.
4). '''%R''c''''' again inspired by '''%T''c''''',''' %R''c''''' repeats
char '''''c''''' width times, again it does not do tabulation.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4659> 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:04 UTC