Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53120 - sandbox/stm/boost/stm/detail
From: vicente.botet_at_[hidden]
Date: 2009-05-19 17:56:51


Author: viboes
Date: 2009-05-19 17:56:50 EDT (Tue, 19 May 2009)
New Revision: 53120
URL: http://svn.boost.org/trac/boost/changeset/53120

Log:
TBoost.Stm v0.1 Adding empty function

Text files modified:
   sandbox/stm/boost/stm/detail/vector_map.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: sandbox/stm/boost/stm/detail/vector_map.hpp
==============================================================================
--- sandbox/stm/boost/stm/detail/vector_map.hpp (original)
+++ sandbox/stm/boost/stm/detail/vector_map.hpp 2009-05-19 17:56:50 EDT (Tue, 19 May 2009)
@@ -46,6 +46,7 @@
    typename vector_map<T,U>::iterator end() { return pairs_.end(); }
 
    size_t size() { return pairs_.size(); }
+ bool empty() { return pairs_.empty(); }
 
    T& first(size_t const val) { return pairs_[val].first; }
    U& second(size_t const val) { return pairs_[val].second; }


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