Boost logo

Boost-Commit :

From: franklin.jonathan_at_[hidden]
Date: 2008-05-12 23:21:32


Author: jfranklin
Date: 2008-05-12 23:21:31 EDT (Mon, 12 May 2008)
New Revision: 45315
URL: http://svn.boost.org/trac/boost/changeset/45315

Log:
Added empty() member to cluster_data.

Text files modified:
   sandbox/cluster/boost/algorithm/cluster/cluster_data.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: sandbox/cluster/boost/algorithm/cluster/cluster_data.hpp
==============================================================================
--- sandbox/cluster/boost/algorithm/cluster/cluster_data.hpp (original)
+++ sandbox/cluster/boost/algorithm/cluster/cluster_data.hpp 2008-05-12 23:21:31 EDT (Mon, 12 May 2008)
@@ -53,6 +53,8 @@
   value_type const & back() const { return m_pClusters->back(); }
 
   size_t size() const { return m_pClusters->size(); }
+ bool empty() const { return m_pClusters->empty(); }
+
 private:
   boost::shared_ptr<clusters> m_pClusters;
 };


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk