|
Boost : |
From: Jeffrey C. Jacobs (darklord_at_[hidden])
Date: 2002-11-04 10:32:19
"Gennaro Prota" <gennaro_prota_at_[hidden]> wrote in message
news:rcs4sugt2dlnf3abvn1anrt5l432fma11m_at_4ax.com...
> On Fri, 1 Nov 2002 01:00:25 -0500, Daryle Walker <dwalker07_at_[hidden]>
> wrote:
>
> cout << roman_rep (200) << ...; // constructs a temporary and output
IMHO,
cout << boost::roman << 200 << ...;
would look better, e.g. Daryle's approach but with a stream manipulator to
do that actual Locale adjustments. More perhaps later.
Jeffrey.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk