Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65407 - sandbox/sync/boost/sync
From: vicente.botet_at_[hidden]
Date: 2010-09-13 01:25:52


Author: viboes
Date: 2010-09-13 01:25:51 EDT (Mon, 13 Sep 2010)
New Revision: 65407
URL: http://svn.boost.org/trac/boost/changeset/65407

Log:
Change concept name
Text files modified:
   sandbox/sync/boost/sync/lockable_concepts.hpp | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: sandbox/sync/boost/sync/lockable_concepts.hpp
==============================================================================
--- sandbox/sync/boost/sync/lockable_concepts.hpp (original)
+++ sandbox/sync/boost/sync/lockable_concepts.hpp 2010-09-13 01:25:51 EDT (Mon, 13 Sep 2010)
@@ -52,10 +52,10 @@
 
 //[LockableConcept
 template <typename Lockable>
-struct TryLockableConcept {
+struct LockableConcept {
     BOOST_CONCEPT_ASSERT((BasicLockableConcept<Lockable>));
 
- BOOST_CONCEPT_USAGE(TryLockableConcept) {
+ BOOST_CONCEPT_USAGE(LockableConcept) {
         b=l.try_lock();
     }
     Lockable l;
@@ -70,7 +70,7 @@
 //[TimedLockableConcept
 template <typename Lockable>
 struct TimedLockableConcept {
- BOOST_CONCEPT_ASSERT((TryLockableConcept<Lockable>));
+ BOOST_CONCEPT_ASSERT((LockableConcept<Lockable>));
 
     BOOST_CONCEPT_USAGE(TimedLockableConcept) {
         //~ l.lock_until(t);
@@ -119,16 +119,16 @@
 
 //]
 /**
- * ShareLockableConcept object extends TimedLockableConcept
+ * SharedLockableConcept object extends TimedLockableConcept
  * with the lock_shared, lock_shared_until, lock_shared_for, try_lock_shared_until, try_lock_shared
  * and unlock_shared functions
  */
-//[ShareLockableConcept
+//[SharedLockableConcept
 template <typename Lockable>
-struct ShareLockableConcept {
+struct SharedLockableConcept {
     BOOST_CONCEPT_ASSERT((TimedLockableConcept<Lockable>));
 
- BOOST_CONCEPT_USAGE(ShareLockableConcept) {
+ BOOST_CONCEPT_USAGE(SharedLockableConcept) {
         l.lock_shared();
         //~ l.lock_shared_until(t);
         //~ l.lock_shared_for(d);
@@ -157,7 +157,7 @@
 
 template <typename Lockable>
 struct UpgradeBasicLockableConcept {
- BOOST_CONCEPT_ASSERT((ShareLockableConcept<Lockable>));
+ BOOST_CONCEPT_ASSERT((SharedLockableConcept<Lockable>));
 
     BOOST_CONCEPT_USAGE(UpgradeBasicLockableConcept) {
         l.lock_upgrade();


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