[Swift-commit] cog r3956

swift at ci.uchicago.edu swift at ci.uchicago.edu
Tue Jun 24 12:10:03 CDT 2014


------------------------------------------------------------------------
r3956 | timgarmstrong | 2014-06-24 12:07:25 -0500 (Tue, 24 Jun 2014) | 1 line

Add note about buffers
------------------------------------------------------------------------
Index: modules/provider-coaster-c-client/src/Buffer.h
===================================================================
--- modules/provider-coaster-c-client/src/Buffer.h	(revision 3955)
+++ modules/provider-coaster-c-client/src/Buffer.h	(working copy)
@@ -14,6 +14,11 @@
 
 using namespace std;
 
+/*
+ * TODO: need documentation on behavior of buffers w.r.t memory lifespan.
+ * May need to disable copy constructors or add move constructors in
+ * some cases too.
+ */
 class Buffer {
 	protected:
 		int len;



More information about the Swift-commit mailing list