17 #ifndef TM_LIST_SET_HPP__
18 #define TM_LIST_SET_HPP__
61 if (curr->
val == item)
return;
75 if (curr->
val == item) {
91 if (curr->
val == item)
return true;
110 assert(
sizeof(T) ==
sizeof(
unsigned long));
129 #endif // TM_LIST_SET_HPP__
bool lookup(const T item)
Definition: tm_list_set.hpp:86
TRANSACTION_SAFE void insert(const T item)
Definition: tm_list_set.hpp:55
TRANSACTION_SAFE LLNode(const T val, LLNode< T > *next)
Definition: tm_list_set.hpp:38
Definition: tm_set.hpp:20
const T val
Definition: tm_list_set.hpp:34
#define TRANSACTION_SAFE
Definition: common.hpp:87
tm_list_set & operator=(const tm_list_set &)
Definition: tm_list_set.hpp:30
virtual ~tm_list_set()
Definition: tm_list_set.hpp:114
int size() const
Definition: tm_list_set.hpp:117
tm_list_set()
Definition: tm_list_set.hpp:108
void apply_to_all(void(*f)(T item))
Definition: tm_list_set.hpp:98
LLNode< T > * head_node
Definition: tm_list_set.hpp:44
Definition: tm_list_set.hpp:25
LLNode< T > * next_node
Definition: tm_list_set.hpp:35