Eric Lemings wrote:
-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor
Sent: Friday, July 11, 2008 1:06 PM
To: [email protected]
Subject: Re: structure of tuple tests ([Fwd: Re: svn commit: r675044 - in /stdcxx/branches/4.3.x: include/rw/_tuple.h include/tuple tests/utilities/20.tuple.cnstr.cpp tests/utilities/20.tuple.creation.cpp tests/utilities/20.tuple.h tests/utilities/20.tuple.helpers

...
The description of the result could be just a character string
with the values of the tuple members. For example, for the ctor
tuple<int, int>(1, 2), the description of the expected result
could be "{1,2}" To implement the formatting in a general way
you might want to make use of the rw_printf() callbacks. See
test_user_defined_formatting() in the self/0.printf.cpp test.

I was looking for a test that actually uses this user-definfed
formatting but couldn't find one.  Is there a use of this
formatting directive other than the test case in 0.printf.cpp?

I think all or most of the tests that make use of the UserClass
class (in rw_value.h) do. The formatting function is defined in
value.cpp: _rw_fmtxarrayv().

Martin


Thanks,
Brad.

Reply via email to