This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Apply DR434 resolution to <debug/bitset>


Found this while looking at the vector<bool> issue I posted earlier.

The resolution to DR434 was not applied to <debug/bitset> which causes
testsuite/23_containers/bitset/to_string/1.cc to FAIL in debug mode.

The attached patch fixes the FAIL on 4.0 and mainline, OK for both?
(DR434 resolution is not on the 3.4 branch)

Should I use the DR ChangeLog format like this?

2005-05-05  Jonathan Wakely  <redi@gcc.gnu.org>

        DR 434. bitset::to_string() hard to use [Ready]
        * include/debug/bitset (to_string): Add three overloads, taking
        fewer template arguments.

I'm not sure if this patch follows C++STYLE correctly, I'll revise it if
there's a preferred way to break the template arguments in the return
value.

jon

Attachment: libstdcxx-bitset_debug_dr434.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]