On 15/06/20 14:42 +0100, Jonathan Wakely wrote:
On 14/06/20 22:40 +0000, Paul Keir wrote:
Hi,
Upon constexpr evaluation, char_traits move uses copy_backward, but its last
argument should be to the range end rather than its beginning. I include the
fix and a test.
This is my first patch, so if it looks OK, perhaps someone could commit for me.
The patch is fine, and small enough to not need a copyright
assignment, so I've tested it and committed it. Thanks very much!
I'll also queue your patch for the gcc-10 branch, so it will get
applied next time I do some backports.
I've also committed the attached patch, which bumps the feature test
macro to indicate support for this feature. That macro is not defined
by the C++ committee, but I'm treating that as a defect and will get
it added.