rm5248 commented on code in PR #625:
URL: https://github.com/apache/logging-log4cxx/pull/625#discussion_r3042337719


##########
src/main/include/log4cxx/helpers/bytebuffer.h:
##########
@@ -28,31 +28,82 @@ namespace helpers
 {
 
 /**
-* A byte buffer.
+* An area of memory, a cursor into that memory and a count of remaining bytes.
+* It does not own the memory, so does not allocate or free memory.
+* The user must ensure the lifetime of the memory exceeds the lifeime of the 
class instance.
 */
 class LOG4CXX_EXPORT ByteBuffer

Review Comment:
   for the next ABI version if we go to C++20 it sounds like `std::span` may 
fit several of the use cases of this class.  thoughts?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to