remove unused boost dependencies
authorkhizmax <libcds.dev@gmail.com>
Tue, 11 Nov 2014 18:46:14 +0000 (21:46 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 11 Nov 2014 18:46:14 +0000 (21:46 +0300)
cds/lock/array.h
cds/opt/hash.h

index ff8db6b877557002f7f9a007dc5e77bbca866891..64b9293769edf524d935d6c5eca9189344823d6a 100644 (file)
@@ -6,7 +6,6 @@
 #include <mutex>    //unique_lock
 #include <cds/details/allocator.h>
 #include <cds/algo/int_algo.h>
-#include <boost/mpl/if.hpp>
 
 namespace cds { namespace lock {
 
@@ -91,7 +90,7 @@ namespace cds { namespace lock {
         can be simultaneous.
 
         Template arguments:
-        - \p Lock - lock type, for example, \p boost::mutex, \p cds::lock::Spinlock
+        - \p Lock - lock type, for example, \p std::mutex, \p cds::lock::Spinlock
         - \p SelectPolicy - array cell selection policy, the default is \ref mod_select_policy
              Available policies: \ref trivial_select_policy, \ref pow2_select_policy, \ref mod_select_policy.
         - \p Alloc - memory allocator for array
index 2c457f79996b50486820f7bfdab5671878a39a37..882f644031eeb28f348a794e50fb2d48483d20e9 100644 (file)
@@ -15,8 +15,6 @@ namespace cds { namespace opt {
 
         The default value  of template argument \p Functor is \p cds::opt::v::hash
         that is synonym for <tt>std::hash</tt> implementation of standard library.
-        If standard C++ library of the compiler you use does not provide TR1 implementation
-        the \p cds library automatically selects <tt>boost::hash</tt>.
     */
     template <typename Functor>
     struct hash {