Re: [_GLIBCXX_DEBUG] Enhance rendering of assert message

2021-05-25 Thread Jonathan Wakely via Gcc-patches
me for the _M_iterator type but eventually managed it with a template function.     libstdc++: [_GLIBCXX_DEBUG] Enhance rendering of assert message     Avoid building an intermediate buffer to print to stderr, push directly to stderr.     libstdc++-v3/ChangeLog:     * include/debug/f

Re: [_GLIBCXX_DEBUG] Enhance rendering of assert message

2021-05-25 Thread François Dumont via Gcc-patches
a template function.     libstdc++: [_GLIBCXX_DEBUG] Enhance rendering of assert message     Avoid building an intermediate buffer to print to stderr, push directly to stderr.     libstdc++-v3/ChangeLog:     * include/debug/formatter.h     (_Error_formatter::_Parameter::_N

Re: [_GLIBCXX_DEBUG] Enhance rendering of assert message

2021-05-25 Thread Jonathan Wakely via Gcc-patches
BCXX_DEBUG] Enhance rendering of assert message     Avoid building an intermediate buffer to print to stderr, push directly to stderr.     libstdc++-v3/ChangeLog:     * include/debug/formatter.h     (_Error_formatter::_Parameter::_Named): New.     (_Error_formatter::_Parame

[_GLIBCXX_DEBUG] Enhance rendering of assert message

2021-05-22 Thread François Dumont via Gcc-patches
y avoiding intermediate buffering. I am adding the _Parameter::_Named type to help on the rendering. I hesitated in doing the same for the _M_iterator type but eventually managed it with a template function.     libstdc++: [_GLIBCXX_DEBUG] Enhance rendering of assert message     Avoid b