https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279443

Paul Floyd <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Paul Floyd <[email protected]> ---
(In reply to Mark Millard from comment #1)

Why not write it in clean C++ style rather than taking pointers in crappy UB C
style?

std::copy(
                std::begin(buf),
                std::end(buf),
                std::back_inserter(r)
            );

That way you don’t need to cross your fingers and hope that the compiler does
what you imagined it should do.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to