/*
This file is a part of libcds - Concurrent Data Structures library
- (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+ (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
template <typename Func>
bool operator()( Set& s, int key, Func f ) const
{
- return s.find( key, [&f]( typename Set::value_type& v, int key ) {
- cds_test::container_set::other_item oi( key );
+ return s.find( key, [&f]( typename Set::value_type& v, int k ) {
+ cds_test::container_set::other_item oi( k );
f( v, oi );
});
}