Author: wyoung
Date: Fri Jan 12 19:56:55 2007
New Revision: 1402

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1402&view=rev
Log:
Removed ListInsert template from lib/myset.h.  Not used within the
library, and not documented.  I doubt anyone's using it, but it could
come back if there's enough squawkage.

Modified:
    trunk/Wishlist
    trunk/lib/myset.h

Modified: trunk/Wishlist
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/Wishlist?rev=1402&r1=1401&r2=1402&view=diff
==============================================================================
--- trunk/Wishlist (original)
+++ trunk/Wishlist Fri Jan 12 19:56:55 2007
@@ -302,21 +302,3 @@
 
        o Support prepared statements.
 
-
-Bug Fix/Maintenance Items
--------------------------
-
-       These items could happen in any version.
-
-
-       o 64-bit integer support has been reported to work, but more
-         confirmation is wanted.
-
-       o Template ListInsert in lib/myset.h isn't being used within the
-         library.  It could probably be used in place of SetInsert
-         in the same file, which things like type_info.h do use now,
-         but it isn't clear how one would go about doing that without
-         changing the library code.  Document it or throw it away.
-
-       o Update refman.css to use new Doxygen 1.4 CSS IDs.
-

Modified: trunk/lib/myset.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/myset.h?rev=1402&r1=1401&r2=1402&view=diff
==============================================================================
--- trunk/lib/myset.h (original)
+++ trunk/lib/myset.h Fri Jan 12 19:56:55 2007
@@ -43,17 +43,6 @@
 #if !defined(DOXYGEN_IGNORE)
 // Doxygen will not generate documentation for this section.
 
-template <class T, class value_type = typename T::value_type>
-class MYSQLPP_EXPORT ListInsert
-{
-public:
-       ListInsert(T* o) : object_(o) { }
-       void operator ()(const value_type& data) { object_->push_back(data); }
-
-private:
-       T* object_;
-};
-
 template <class T, class key_type = typename T::key_type>
 class MYSQLPP_EXPORT SetInsert
 {
@@ -69,12 +58,6 @@
 inline SetInsert< std::set<T> > set_insert(std::set<T>* o)
 {
        return SetInsert< std::set<T> >(o);
-}
-
-template <class T>
-inline ListInsert< std::vector<T> > set_insert(std::vector<T> *o)
-{
-       return ListInsert< std::vector<T> >(o);
 }
 
 template <class Insert>


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to