summaryrefslogtreecommitdiffstats
path: root/sc/inc/stlalgorithm.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-06-07 17:14:18 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-06-07 17:14:18 -0400
commit336ed340de1c6bc36c14c85b01f0d3b948e60a4c (patch)
tree68a651a033db93ce3536b42f77123fe8ebd5e46c /sc/inc/stlalgorithm.hxx
parentShared commonly used STL function objects & remove memory leak. (diff)
downloadcore-336ed340de1c6bc36c14c85b01f0d3b948e60a4c.tar.gz
core-336ed340de1c6bc36c14c85b01f0d3b948e60a4c.zip
Class description.
Diffstat (limited to 'sc/inc/stlalgorithm.hxx')
-rw-r--r--sc/inc/stlalgorithm.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/stlalgorithm.hxx b/sc/inc/stlalgorithm.hxx
index 3a0bff207a8c..a3a02f934476 100644
--- a/sc/inc/stlalgorithm.hxx
+++ b/sc/inc/stlalgorithm.hxx
@@ -30,6 +30,10 @@
#include <functional>
+/**
+ * Function object to allow deleting instances stored in STL containers as
+ * pointers.
+ */
template<typename T>
struct ScDeleteObjectByPtr : public ::std::unary_function<T*, void>
{