``STLStringBuffer`` will initialize its base class's ``data_`` member with the 
rvalue reference returned by ``std::move``. Post the operation, ``data_`` 
member in the class should be the only one with a valid reference to the memory.

Is gaining ownership of the actual data i.e. ``data.c_str()`` the objective, or 
would we rather have everything that ``data`` points to? I took inspiration 
from ``FromString`` methods and took reference for only the ``char`` part of 
the ``string object``

[ Full content available at: https://github.com/apache/arrow/pull/2660 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to