libt2n: (tomj) documented code problems; have to find out if this is the source of...
[libt2n] / src / socket_wrapper.hxx
index 067931e..093a809 100644 (file)
@@ -52,6 +52,9 @@ class BasicSocketWrapper : public ConnectionWrapper
 
         std::auto_ptr<socket_client_connection> c;
 
+        // TODO: Mark object as non-copyable as it contains an auto_ptr.
+        //       This will make sure nobody every tries to put this in a STL container
+
     public:
         BasicSocketWrapper(int _port, const std::string& _server="127.0.0.1", 
             long long _connect_timeout_usec=socket_client_connection::connect_timeout_usec_default,